Text Classification
Transformers
PyTorch
TensorFlow
English
deberta-v2
Sentiment-Analysis
Hate-Speech_Detection
NLP
Multi-task
Instructions to use Vivek-Sham/deberta-multitask-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vivek-Sham/deberta-multitask-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Vivek-Sham/deberta-multitask-sentiment-analysis")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Vivek-Sham/deberta-multitask-sentiment-analysis", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -79,13 +79,13 @@ Data preprocessing involved tokenization using DeBERTa's tokenizer, padding to a
|
|
| 79 |
|
| 80 |
#### Training Hyperparameters
|
| 81 |
Training Hyperparameters
|
| 82 |
-
-**Batch size**
|
| 83 |
-
-**Learning rate**
|
| 84 |
-
-**Epochs**
|
| 85 |
-
-**Optimizer**
|
| 86 |
|
| 87 |
### Results
|
| 88 |
The model achieved the following accuracy scores:
|
| 89 |
-
-**Emotion Detection**
|
| 90 |
-
-**Polarity Classification**
|
| 91 |
-
-**Hate Speech Detection**
|
|
|
|
| 79 |
|
| 80 |
#### Training Hyperparameters
|
| 81 |
Training Hyperparameters
|
| 82 |
+
- **Batch size:** 32
|
| 83 |
+
- **Learning rate:** 5e-5
|
| 84 |
+
- **Epochs:** 10
|
| 85 |
+
- **Optimizer:** AdamW
|
| 86 |
|
| 87 |
### Results
|
| 88 |
The model achieved the following accuracy scores:
|
| 89 |
+
- **Emotion Detection:** 92%
|
| 90 |
+
- **Polarity Classification:** 95%
|
| 91 |
+
- **Hate Speech Detection:** 99%
|