Text Classification
Transformers
Safetensors
roberta
DistilRoBERTa
fine-tune
financial
crypto
sentiment
text-embeddings-inference
Instructions to use sarfras/crypto-sentiment-distilroberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sarfras/crypto-sentiment-distilroberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sarfras/crypto-sentiment-distilroberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sarfras/crypto-sentiment-distilroberta") model = AutoModelForSequenceClassification.from_pretrained("sarfras/crypto-sentiment-distilroberta") - Notebooks
- Google Colab
- Kaggle
Crypto Sentiment Classifier - DistilRoBERTa
Model Description
This fine-tuned DistilRoBERTa model classifies financial/crypto tweets into BEARISH (0), BULLISH (1), or NEUTRAL (2) sentiments. Trained on 9.5k+ Twitter financial news samples with class weighting for imbalance.
Intended Uses
- Real-time sentiment analysis on crypto tweets.
- Integration into trading bots or dashboards.
Performance
| Metric | Value |
|---|---|
| Eval F1 (weighted) | 0.8811 |
| Accuracy | 0.8790 |
Limitations & Bias
- Heavy Neutral skew may underperform on extreme sentiments.
- Trained on general financial tweets; fine-tune further for pure crypto jargon.
- Downloads last month
- 780