Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use Aliyyah/Finetuned-distilbert-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aliyyah/Finetuned-distilbert-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Aliyyah/Finetuned-distilbert-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Aliyyah/Finetuned-distilbert-model") model = AutoModelForSequenceClassification.from_pretrained("Aliyyah/Finetuned-distilbert-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Finetuned-distilbert-model
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.6764
- Accuracy: 0.7439
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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.8509 | 0.5 | 500 | 0.7672 | 0.7088 |
| 0.7428 | 1.0 | 1000 | 0.7060 | 0.7258 |
| 0.6385 | 1.5 | 1500 | 0.7193 | 0.7378 |
| 0.6474 | 2.0 | 2000 | 0.6764 | 0.7439 |
| 0.5148 | 2.51 | 2500 | 0.7223 | 0.7398 |
| 0.509 | 3.01 | 3000 | 0.7403 | 0.7393 |
| 0.4318 | 3.51 | 3500 | 0.8034 | 0.7398 |
| 0.4156 | 4.01 | 4000 | 0.8056 | 0.7424 |
| 0.3682 | 4.51 | 4500 | 0.8447 | 0.7393 |
Framework versions
- Transformers 4.35.0
- Pytorch 2.1.0+cu118
- Datasets 2.14.6
- Tokenizers 0.14.1
- Downloads last month
- 2
Model tree for Aliyyah/Finetuned-distilbert-model
Base model
distilbert/distilbert-base-uncased