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 ·
81b2ed9
1
Parent(s): 434007b
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 12 |
"hidden_dropout": 0.0,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
-
"0": "
|
| 16 |
-
"1": "
|
| 17 |
-
"2": "
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"label2id": {
|
|
|
|
| 12 |
"hidden_dropout": 0.0,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
+
"0": "Negative",
|
| 16 |
+
"1": "Positive",
|
| 17 |
+
"2": "Neutral"
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"label2id": {
|