Downloads · 30 days
12
2% of all-time downloads
sabersol/bert-base-uncased-emotion
bert-base-uncased-emotion is a text classification model from sabersol. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
Fine-tuned bert-base-uncased on the emotions dataset
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
762
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
Fine-tuned bert-base-uncased on the emotions dataset
Demo Notebook: https://colab.research.google.com/drive/10ZCFvlf2UV3FjU4ymf4OoipQvqHbIItG?usp=sharing
torchpip install transformers datasets scikit-learn wandb seaborn python-dotenv.env.example to .env and set an API key from wandbexplainableai.py file.pytorch_model.bin) is a based on the bert-base-uncased and already trained on the emotions dataset.
To re-produce the training run finetune-emotions.py. You can change the base model, or the dataset by changing that file's code.Run example.py
The model is already trained on bert-base-uncased with the emotions dataset. However, you can change parameters and re-fine-tune the model by running finetune-emotions.py.