Text Classification
Transformers
PyTorch
English
sentiment-analysis
emotion-classification
multi-label-classification
deberta-v3
nlp
Instructions to use Praphull1/Sentimental-Analyzer-V3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Praphull1/Sentimental-Analyzer-V3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Praphull1/Sentimental-Analyzer-V3")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Praphull1/Sentimental-Analyzer-V3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,124 Bytes
dfd384d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | {
"version": "V3_FINAL_CANDIDATE",
"model_name": "microsoft/deberta-v3-base",
"checkpoint": "model/best_v3_model.pt",
"checkpoint_sha256": "4d3f5a97d352460d41fa884fd337b2de6f58549139135cad1b4b79beefcb2078",
"max_length": 256,
"sentiment_classes": 5,
"emotion_classes": 28,
"emotions": [
"admiration",
"amusement",
"anger",
"annoyance",
"approval",
"caring",
"confusion",
"curiosity",
"desire",
"disappointment",
"disapproval",
"disgust",
"embarrassment",
"excitement",
"fear",
"gratitude",
"grief",
"joy",
"love",
"nervousness",
"neutral",
"optimism",
"pride",
"realization",
"relief",
"remorse",
"sadness",
"surprise"
],
"calibration": {
"strategy": "HYBRID_ISOTONIC_GLOBAL",
"calibrated_classes": [
"admiration",
"anger",
"annoyance",
"approval",
"disappointment",
"disapproval",
"disgust",
"excitement",
"joy",
"love",
"neutral"
],
"raw_classes": [
"amusement",
"caring",
"confusion",
"curiosity",
"desire",
"embarrassment",
"fear",
"gratitude",
"grief",
"nervousness",
"optimism",
"pride",
"realization",
"relief",
"remorse",
"sadness",
"surprise"
],
"minimum_support": 10
},
"decision": {
"global_threshold": 0.35,
"fallback": "highest_calibrated_probability"
},
"selection": {
"selection_dataset": "validation",
"test_used_for_selection": false,
"threshold_source": "validation",
"calibration_source": "validation"
}
} |