Instructions to use Endryx/distilbert-presto-token-classifier-Endryx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Endryx/distilbert-presto-token-classifier-Endryx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Endryx/distilbert-presto-token-classifier-Endryx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Endryx/distilbert-presto-token-classifier-Endryx") model = AutoModelForTokenClassification.from_pretrained("Endryx/distilbert-presto-token-classifier-Endryx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-presto-token-classifier-Endryx
This model is a fine-tuned version of distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0631
- Accuracy: 0.9869
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: 3e-05
- train_batch_size: 8
- eval_batch_size: 8
- 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 | Accuracy |
|---|---|---|---|---|
| 0.0732 | 1.0 | 293 | 0.0667 | 0.9762 |
| 0.0293 | 2.0 | 586 | 0.0578 | 0.9804 |
| 0.0207 | 3.0 | 879 | 0.0622 | 0.9850 |
| 0.0136 | 4.0 | 1172 | 0.0643 | 0.9860 |
| 0.0095 | 5.0 | 1465 | 0.0631 | 0.9869 |
Framework versions
- Transformers 4.56.0
- Pytorch 2.8.0+cpu
- Datasets 4.0.0
- Tokenizers 0.22.0
- Downloads last month
- 8
Model tree for Endryx/distilbert-presto-token-classifier-Endryx
Base model
distilbert/distilbert-base-uncased