Instructions to use Michal0607/herbert-finetuned-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Michal0607/herbert-finetuned-model2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Michal0607/herbert-finetuned-model2")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Michal0607/herbert-finetuned-model2") model = AutoModelForTokenClassification.from_pretrained("Michal0607/herbert-finetuned-model2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
herbert-finetuned-model2
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.0003
- Precision: 0.9995
- Recall: 0.9998
- F1: 0.9997
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 |
|---|---|---|---|---|---|---|
| 0.0175 | 1.0 | 1176 | 0.0005 | 0.9991 | 0.9995 | 0.9993 |
| 0.0006 | 2.0 | 2352 | 0.0004 | 0.9986 | 0.9991 | 0.9988 |
| 0.0002 | 3.0 | 3528 | 0.0004 | 0.9991 | 0.9991 | 0.9991 |
| 0.0002 | 4.0 | 4704 | 0.0002 | 0.9995 | 0.9995 | 0.9995 |
| 0.0003 | 5.0 | 5880 | 0.0003 | 0.9993 | 0.9998 | 0.9995 |
| 0.0 | 6.0 | 7056 | 0.0002 | 0.9995 | 0.9998 | 0.9997 |
| 0.0001 | 7.0 | 8232 | 0.0003 | 0.9995 | 0.9998 | 0.9997 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.4.1
- Datasets 2.21.0
- Tokenizers 0.21.1
- Downloads last month
- 14
Model tree for Michal0607/herbert-finetuned-model2
Base model
pczarnik/herbert-base-ner