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
| { | |
| "add_prefix_space": false, | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "name_or_path": "bigscience/bloom-560m", | |
| "pad_token": "<pad>", | |
| "padding_side": "left", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "BloomTokenizer", | |
| "unk_token": "<unk>" | |
| } | |