Instructions to use 3nru/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 3nru/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="3nru/bert-finetuned-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("3nru/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("3nru/bert-finetuned-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-finetuned-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.0932
- Precision: 0.9086
- Recall: 0.9280
- F1: 0.9182
- Accuracy: 0.9823
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: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0657 | 1.0 | 1250 | 0.0942 | 0.8600 | 0.9132 | 0.8858 | 0.9767 |
| 0.0458 | 2.0 | 2500 | 0.0888 | 0.8917 | 0.9162 | 0.9038 | 0.9802 |
| 0.0365 | 3.0 | 3750 | 0.0841 | 0.8918 | 0.9207 | 0.9060 | 0.9804 |
| 0.0286 | 4.0 | 5000 | 0.0840 | 0.9035 | 0.9229 | 0.9131 | 0.9821 |
| 0.0237 | 5.0 | 6250 | 0.0889 | 0.8994 | 0.9281 | 0.9135 | 0.9816 |
| 0.0205 | 6.0 | 7500 | 0.0870 | 0.9029 | 0.9300 | 0.9163 | 0.9819 |
| 0.0166 | 7.0 | 8750 | 0.0865 | 0.9032 | 0.9276 | 0.9152 | 0.9822 |
| 0.0128 | 8.0 | 10000 | 0.0897 | 0.9044 | 0.9263 | 0.9152 | 0.9823 |
| 0.0104 | 9.0 | 11250 | 0.0946 | 0.9045 | 0.9258 | 0.9150 | 0.9817 |
| 0.0103 | 10.0 | 12500 | 0.0932 | 0.9086 | 0.9280 | 0.9182 | 0.9823 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 23
Model tree for 3nru/bert-finetuned-ner
Base model
BAAI/bge-small-en-v1.5