Instructions to use anyapopova/bge-small-conll2003-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anyapopova/bge-small-conll2003-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="anyapopova/bge-small-conll2003-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("anyapopova/bge-small-conll2003-ner") model = AutoModelForTokenClassification.from_pretrained("anyapopova/bge-small-conll2003-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bge-small-conll2003-ner
This model is a fine-tuned version of BAAI/bge-small-en-v1.5 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0854
- Precision: 0.8989
- Recall: 0.9244
- F1: 0.9115
- Accuracy: 0.9815
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: 5e-05
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.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: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.1201 | 1.0 | 313 | 0.1034 | 0.8236 | 0.8989 | 0.8596 | 0.9740 |
| 0.0795 | 2.0 | 626 | 0.0837 | 0.8724 | 0.9138 | 0.8927 | 0.9786 |
| 0.0511 | 3.0 | 939 | 0.0775 | 0.8756 | 0.9201 | 0.8973 | 0.9794 |
| 0.0336 | 4.0 | 1252 | 0.0822 | 0.8984 | 0.9244 | 0.9112 | 0.9813 |
| 0.027 | 5.0 | 1565 | 0.0820 | 0.8967 | 0.9246 | 0.9104 | 0.9819 |
| 0.0257 | 6.0 | 1878 | 0.0854 | 0.8989 | 0.9244 | 0.9115 | 0.9815 |
Framework versions
- Transformers 4.50.0
- Pytorch 2.11.0+cu128
- Datasets 3.4.1
- Tokenizers 0.21.4
- Downloads last month
- 12
Model tree for anyapopova/bge-small-conll2003-ner
Base model
BAAI/bge-small-en-v1.5