Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use Layaa-V/FineTuned-Bert-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Layaa-V/FineTuned-Bert-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Layaa-V/FineTuned-Bert-Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Layaa-V/FineTuned-Bert-Classifier") model = AutoModelForSequenceClassification.from_pretrained("Layaa-V/FineTuned-Bert-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
FineTuned-Bert-Classifier
This model is a fine-tuned version of distilbert-base-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.2830
- Accuracy: 0.5875
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: 5e-05
- train_batch_size: 10
- eval_batch_size: 16
- 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
- lr_scheduler_warmup_steps: 100
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.9816 | 0.1562 | 100 | 1.7339 | 0.3306 |
| 1.5344 | 0.3125 | 200 | 1.4291 | 0.4956 |
| 1.4324 | 0.4688 | 300 | 1.3265 | 0.5238 |
| 1.3343 | 0.625 | 400 | 1.3289 | 0.525 |
| 1.2805 | 0.7812 | 500 | 1.2967 | 0.5475 |
| 1.2726 | 0.9375 | 600 | 1.2715 | 0.5406 |
| 1.0973 | 1.0938 | 700 | 1.2027 | 0.5656 |
| 1.0073 | 1.25 | 800 | 1.2159 | 0.565 |
| 0.9579 | 1.4062 | 900 | 1.2708 | 0.5687 |
| 0.9767 | 1.5625 | 1000 | 1.1798 | 0.5919 |
| 0.9607 | 1.7188 | 1100 | 1.1856 | 0.5906 |
| 0.9204 | 1.875 | 1200 | 1.1882 | 0.5881 |
| 0.8291 | 2.0312 | 1300 | 1.2127 | 0.5775 |
| 0.6176 | 2.1875 | 1400 | 1.2605 | 0.5775 |
| 0.5761 | 2.3438 | 1500 | 1.2602 | 0.5894 |
| 0.5975 | 2.5 | 1600 | 1.2815 | 0.5806 |
| 0.5639 | 2.6562 | 1700 | 1.2697 | 0.59 |
| 0.5495 | 2.8125 | 1800 | 1.2918 | 0.5869 |
| 0.5532 | 2.9688 | 1900 | 1.2832 | 0.5869 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 3
Model tree for Layaa-V/FineTuned-Bert-Classifier
Base model
distilbert/distilbert-base-cased