Views
No views yet
distilbert-base-uncased.1from transformers import pipeline
2
3classifier = pipeline("sentiment-analysis", model="marksoulier/hf-workshop-sentiment")
4classifier("I loved this film!")
5# [{'label': 'POSITIVE', 'score': 0.998}]1git clone https://github.com/marksoulier/hf-workshop
2cd hf-workshop
3uv run train.py