Text Classification
Transformers
Safetensors
English
roberta
emotion
classification
multi-label
sentiment-analysis
text-embeddings-inference
Instructions to use aymie-oh/roberta-emotion-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aymie-oh/roberta-emotion-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aymie-oh/roberta-emotion-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aymie-oh/roberta-emotion-classification") model = AutoModelForSequenceClassification.from_pretrained("aymie-oh/roberta-emotion-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,6 +31,10 @@ not many risks... just MANY limitations. The training dataset was initially imba
|
|
| 31 |
|
| 32 |
Ultimately, I hope some struggling grad or undergrad student can find this model useful for an arbitrary project they desire to prusue
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
## How to Get Started with the Model
|
| 35 |
|
| 36 |
|
|
@@ -83,10 +87,6 @@ for emotion, prob in result['all_probabilities'].items():
|
|
| 83 |
print(f" {'*' if prob >= result['threshold_used'] else ' '} {emotion}: {prob:.4f}")
|
| 84 |
```
|
| 85 |
|
| 86 |
-
### My use for the project can be found at the below github link
|
| 87 |
-
|
| 88 |
-
https://github.com/AnnaMarieHo/sentiment-analysis/tree/main
|
| 89 |
-
|
| 90 |
#### Training Hyperparameters
|
| 91 |
|
| 92 |
## Evaluation
|
|
|
|
| 31 |
|
| 32 |
Ultimately, I hope some struggling grad or undergrad student can find this model useful for an arbitrary project they desire to prusue
|
| 33 |
|
| 34 |
+
## My use for the project can be found at the below github link
|
| 35 |
+
|
| 36 |
+
https://github.com/AnnaMarieHo/sentiment-analysis/tree/main
|
| 37 |
+
|
| 38 |
## How to Get Started with the Model
|
| 39 |
|
| 40 |
|
|
|
|
| 87 |
print(f" {'*' if prob >= result['threshold_used'] else ' '} {emotion}: {prob:.4f}")
|
| 88 |
```
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
#### Training Hyperparameters
|
| 91 |
|
| 92 |
## Evaluation
|