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")