Text Classification
Transformers
PyTorch
TensorFlow
JAX
Safetensors
English
bert
emotion
Eval Results (legacy)
text-embeddings-inference
Instructions to use bhadresh-savani/bert-base-uncased-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bhadresh-savani/bert-base-uncased-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bhadresh-savani/bert-base-uncased-emotion")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bhadresh-savani/bert-base-uncased-emotion") model = AutoModelForSequenceClassification.from_pretrained("bhadresh-savani/bert-base-uncased-emotion", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
74d3d72
1
Parent(s): ee7ad2b
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,11 +24,11 @@ metrics:
|
|
| 24 |
|
| 25 |
## Model Performance Comparision on Emotion Dataset from Twitter:
|
| 26 |
|
| 27 |
-
| Model | Accuracy | F1 Score |
|
| 28 |
-
| --- | --- | --- | --- |
|
| 29 |
-
| Distilbert-base-uncased | 93.8 | 93.79 |
|
| 30 |
-
| Bert-base-uncased | 94.05 | 94.06 |
|
| 31 |
-
| Roberta-base | 93.95 | 93.97
|
| 32 |
|
| 33 |
## How to Use the model:
|
| 34 |
```python
|
|
|
|
| 24 |
|
| 25 |
## Model Performance Comparision on Emotion Dataset from Twitter:
|
| 26 |
|
| 27 |
+
| Model | Accuracy | F1 Score | Test Sample per Second |
|
| 28 |
+
| --- | --- | --- | --- |
|
| 29 |
+
| Distilbert-base-uncased | 93.8 | 93.79 | 398.69 |
|
| 30 |
+
| Bert-base-uncased | 94.05 | 94.06 | 190.152 |
|
| 31 |
+
| Roberta-base | 93.95 | 93.97| 195.639 |
|
| 32 |
|
| 33 |
## How to Use the model:
|
| 34 |
```python
|