Instructions to use PolyOzh/recipe-ner-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PolyOzh/recipe-ner-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PolyOzh/recipe-ner-model")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PolyOzh/recipe-ner-model") model = AutoModelForTokenClassification.from_pretrained("PolyOzh/recipe-ner-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
recipe-ner-model
This model is a fine-tuned version of on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3130
- Precision: 0.8725
- Recall: 0.8868
- F1: 0.8796
- Accuracy: 0.8931
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: 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 | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.3830 | 1.0 | 4985 | 0.4098 | 0.8233 | 0.8531 | 0.8379 | 0.8579 |
| 0.3511 | 2.0 | 9970 | 0.3672 | 0.8485 | 0.8647 | 0.8565 | 0.8752 |
| 0.2933 | 3.0 | 14955 | 0.3480 | 0.8610 | 0.8694 | 0.8652 | 0.8818 |
| 0.3032 | 4.0 | 19940 | 0.3392 | 0.8662 | 0.8760 | 0.8711 | 0.8860 |
| 0.2920 | 5.0 | 24925 | 0.3376 | 0.8691 | 0.8755 | 0.8723 | 0.8872 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 4