Instructions to use nickbull/D5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nickbull/D5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="nickbull/D5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("nickbull/D5") model = AutoModelForTokenClassification.from_pretrained("nickbull/D5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
D5
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.1657
- Precision: 0.9288
- Recall: 0.8678
- F1: 0.8973
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: 16
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| 0.2398 | 1.0 | 232 | 0.2154 | 0.9259 | 0.8414 | 0.8816 |
| 0.1568 | 2.0 | 464 | 0.1727 | 0.9210 | 0.8687 | 0.8941 |
| 0.1340 | 3.0 | 696 | 0.1702 | 0.9337 | 0.8578 | 0.8941 |
| 0.1223 | 4.0 | 928 | 0.1685 | 0.9370 | 0.8599 | 0.8968 |
| 0.1097 | 5.0 | 1160 | 0.1657 | 0.9288 | 0.8678 | 0.8973 |
Framework versions
- Transformers 5.1.0
- Pytorch 2.11.0+cu130
- Datasets 4.8.4
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for nickbull/D5
Base model
distilbert/distilbert-base-uncased