Instructions to use soschuetze/distilbert-blm-tweets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use soschuetze/distilbert-blm-tweets with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="soschuetze/distilbert-blm-tweets")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("soschuetze/distilbert-blm-tweets") model = AutoModelForSequenceClassification.from_pretrained("soschuetze/distilbert-blm-tweets") - Notebooks
- Google Colab
- Kaggle
distilbert-blm-tweets
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Train Loss: 1.0219
- Train Accuracy: 0.6909
- Validation Loss: 1.2971
- Validation Accuracy: 0.6174
- Epoch: 2
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- optimizer: {'name': 'Adam', 'learning_rate': 5e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
- training_precision: float32
Training results
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|---|---|---|---|---|
| 1.5339 | 0.4752 | 1.3023 | 0.5652 | 0 |
| 1.2663 | 0.6012 | 1.2350 | 0.5870 | 1 |
| 1.0219 | 0.6909 | 1.2971 | 0.6174 | 2 |
Framework versions
- Transformers 4.25.1
- TensorFlow 2.9.2
- Tokenizers 0.13.2
- Downloads last month
- 4