hf-workshop-sentiment

Binary sentiment classifier (positive/negative) fine-tuned from distilbert-base-uncased.

Usage

from transformers import pipeline

classifier = pipeline("sentiment-analysis", model="marksoulier/hf-workshop-sentiment")
classifier("I loved this film!")
# [{'label': 'POSITIVE', 'score': 0.998}]

Training

Training code, dependencies, and full reproduction steps are on GitHub: https://github.com/marksoulier/hf-workshop

git clone https://github.com/marksoulier/hf-workshop
cd hf-workshop
uv run train.py
Downloads last month
3
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for marksoulier/hf-workshop-sentiment

Finetuned
(12199)
this model

Dataset used to train marksoulier/hf-workshop-sentiment