Views
No views yet
config.jsonmodel.safetensorstokenizer.jsontokenizer_config.jsonspecial_tokens_map.jsonvocab.txt1from transformers import pipeline
2
3classifier = pipeline("sentiment-analysis", model="Rugs25/simple-sentiment-analyzer")
4
5print(classifier("I love Hugging Face!")) # → POSITIVE
6print(classifier("This is terrible.")) # → NEGATIVE