Instructions to use Michal0607/herbert-finetuned-model5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Michal0607/herbert-finetuned-model5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Michal0607/herbert-finetuned-model5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Michal0607/herbert-finetuned-model5") model = AutoModelForTokenClassification.from_pretrained("Michal0607/herbert-finetuned-model5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
herbert-finetuned-model5
This model is a fine-tuned version of pczarnik/herbert-base-ner on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0077
- Precision: 0.5526
- Recall: 0.6774
- F1: 0.6087
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: 16
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 7
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| No log | 1.0 | 45 | 0.0124 | 0.0 | 0.0 | 0.0 |
| No log | 2.0 | 90 | 0.0084 | 0.3 | 0.3871 | 0.3380 |
| No log | 3.0 | 135 | 0.0070 | 0.4545 | 0.6452 | 0.5333 |
| No log | 4.0 | 180 | 0.0073 | 0.55 | 0.7097 | 0.6197 |
| No log | 5.0 | 225 | 0.0069 | 0.5676 | 0.6774 | 0.6176 |
| No log | 6.0 | 270 | 0.0071 | 0.5897 | 0.7419 | 0.6571 |
| No log | 7.0 | 315 | 0.0077 | 0.5526 | 0.6774 | 0.6087 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.4.1
- Datasets 2.21.0
- Tokenizers 0.21.1
- Downloads last month
- 8
Model tree for Michal0607/herbert-finetuned-model5
Base model
pczarnik/herbert-base-ner