For this project LLM models are retrained using a series of preprocessed tweets to generate hashtags.
- Python Libraries
- transformers
- datasets
- pandas
- matplotlib
- sentencepiece
- accelerate
- json
- re
- csv
- tweet_processor.py
- have
tweets.jsonin same directory as script python3 tweet_processor.py- creates
tweets.csvin that directory with output
- have
- trainer.py
- have
tweets.csvin the same directory python3 trainer.py- creates
./finetuned_modelas a new directory with the new finetuned model
- have
- model.py
- have
./finetuned_modelin the same directory python3 model.py- outputs prediction directly to the console
- have