Instructions to use avichr/heBERT_sentiment_analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use avichr/heBERT_sentiment_analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="avichr/heBERT_sentiment_analysis")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("avichr/heBERT_sentiment_analysis") model = AutoModelForSequenceClassification.from_pretrained("avichr/heBERT_sentiment_analysis") - Inference
- Notebooks
- Google Colab
- Kaggle
problem in result
#3
by galim-pro - opened
שלחתי את המילה ירושלים וזו התוצאה:
[ [ { label: 'negative', score: 0.5448093414306641 },
{ label: 'neutral', score: 0.4098436236381531 },
{ label: 'positive', score: 0.045347075909376144 } ] ]
וחברון בכלל מילה בעייתית:
[ [ { label: 'negative', score: 0.9843934178352356 },
{ label: 'neutral', score: 0.013394503854215145 },
{ label: 'positive', score: 0.0022120659705251455 } ] ]