Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use EscVel/finetuning-sentiment-model-3000-samples with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EscVel/finetuning-sentiment-model-3000-samples with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EscVel/finetuning-sentiment-model-3000-samples")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("EscVel/finetuning-sentiment-model-3000-samples") model = AutoModelForSequenceClassification.from_pretrained("EscVel/finetuning-sentiment-model-3000-samples", device_map="auto") - Notebooks
- Google Colab
- Kaggle
finetuning-sentiment-model-3000-samples
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0833
- Accuracy: 0.9706
- F1 Micro: 0.5852
- F1 Macro: 0.4403
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:
- learning_rate: 2e-05
- train_batch_size: 24
- eval_batch_size: 24
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Micro | F1 Macro |
|---|---|---|---|---|---|---|
| 0.0948 | 1.0 | 1809 | 0.0877 | 0.9693 | 0.5465 | 0.3239 |
| 0.081 | 2.0 | 3618 | 0.0837 | 0.9699 | 0.5643 | 0.4135 |
| 0.0742 | 3.0 | 5427 | 0.0835 | 0.9698 | 0.5772 | 0.4276 |
| 0.0663 | 4.0 | 7236 | 0.0851 | 0.9696 | 0.5770 | 0.4352 |
| 0.0603 | 5.0 | 9045 | 0.0864 | 0.9694 | 0.5842 | 0.4496 |
Framework versions
- Transformers 4.50.1
- Pytorch 2.6.0+cu126
- Datasets 3.4.1
- Tokenizers 0.21.1
- Downloads last month
- 12
Model tree for EscVel/finetuning-sentiment-model-3000-samples
Base model
distilbert/distilbert-base-uncased