Instructions to use Elegbede/Distilbert_FInetuned_For_Text_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Elegbede/Distilbert_FInetuned_For_Text_Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Elegbede/Distilbert_FInetuned_For_Text_Classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification") model = AutoModelForSequenceClassification.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
--- This model involves finetuning Distilbert for text classification to generate emotions from texts
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
--- This model involves finetuning Distilbert for text classification to generate emotions from texts
|
| 4 |
+
The label mapping corresponds to:
|
| 5 |
+
label_0: 'Sadness ๐ญ', label_1: 'Joy ๐', label_2: 'Love ๐', label_3: 'Anger ๐ ', label_4: 'Fear ๐จ', label_5: 'Surprise ๐ฒ'
|