Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use issactai0124/Sentiment_tweets_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use issactai0124/Sentiment_tweets_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="issactai0124/Sentiment_tweets_distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("issactai0124/Sentiment_tweets_distilbert") model = AutoModelForSequenceClassification.from_pretrained("issactai0124/Sentiment_tweets_distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sentiment_tweets_distilbert
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.1526
- F1: 0.9350
- Acc: 0.935
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: 1e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED 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 | F1 | Acc |
|---|---|---|---|---|---|
| 0.8231 | 1.0 | 500 | 0.3177 | 0.9032 | 0.9035 |
| 0.2412 | 2.0 | 1000 | 0.1873 | 0.9275 | 0.9275 |
| 0.1595 | 3.0 | 1500 | 0.1640 | 0.9363 | 0.936 |
| 0.1253 | 4.0 | 2000 | 0.1552 | 0.9313 | 0.931 |
| 0.1113 | 5.0 | 2500 | 0.1526 | 0.9350 | 0.935 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 2
Model tree for issactai0124/Sentiment_tweets_distilbert
Base model
distilbert/distilbert-base-uncased