Instructions to use ScriptEdgeAI/MarathiSentiment-Bloom-560m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ScriptEdgeAI/MarathiSentiment-Bloom-560m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ScriptEdgeAI/MarathiSentiment-Bloom-560m")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ScriptEdgeAI/MarathiSentiment-Bloom-560m") model = AutoModelForSequenceClassification.from_pretrained("ScriptEdgeAI/MarathiSentiment-Bloom-560m") - Notebooks
- Google Colab
- Kaggle
Commit ·
1df68f5
1
Parent(s): 81b2ed9
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -18,9 +18,9 @@
|
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"label2id": {
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
},
|
| 25 |
"layer_norm_epsilon": 1e-05,
|
| 26 |
"masked_softmax_fusion": true,
|
|
|
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"label2id": {
|
| 21 |
+
"Negative": 0,
|
| 22 |
+
"Positive": 1,
|
| 23 |
+
"Neutral": 2
|
| 24 |
},
|
| 25 |
"layer_norm_epsilon": 1e-05,
|
| 26 |
"masked_softmax_fusion": true,
|