Instructions to use Michal0607/herbert-finetuned-model3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Michal0607/herbert-finetuned-model3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Michal0607/herbert-finetuned-model3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Michal0607/herbert-finetuned-model3") model = AutoModelForTokenClassification.from_pretrained("Michal0607/herbert-finetuned-model3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
herbert-finetuned-model3
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.0001
- Precision: 0.9978
- Recall: 1.0
- F1: 0.9989
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 | 662 | 0.0005 | 0.9715 | 0.9957 | 0.9834 |
| 0.0063 | 2.0 | 1324 | 0.0002 | 0.9893 | 0.9989 | 0.9941 |
| 0.0003 | 3.0 | 1986 | 0.0003 | 0.9946 | 0.9978 | 0.9962 |
| 0.0001 | 4.0 | 2648 | 0.0002 | 0.9957 | 1.0 | 0.9978 |
| 0.0001 | 5.0 | 3310 | 0.0001 | 0.9978 | 0.9989 | 0.9984 |
| 0.0001 | 6.0 | 3972 | 0.0001 | 0.9978 | 1.0 | 0.9989 |
| 0.0 | 7.0 | 4634 | 0.0001 | 0.9978 | 1.0 | 0.9989 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.4.1
- Datasets 2.21.0
- Tokenizers 0.21.1
- Downloads last month
- 11
Model tree for Michal0607/herbert-finetuned-model3
Base model
pczarnik/herbert-base-ner