Instructions to use DontKnooow/task3-5-bge-small-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DontKnooow/task3-5-bge-small-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="DontKnooow/task3-5-bge-small-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("DontKnooow/task3-5-bge-small-ner") model = AutoModelForTokenClassification.from_pretrained("DontKnooow/task3-5-bge-small-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
task3-5-bge-small-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.0931
- Precision: 0.8682
- Recall: 0.9093
- F1: 0.8883
- Accuracy: 0.9784
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
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- 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: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.4450 | 1.0 | 625 | 0.1865 | 0.7315 | 0.7812 | 0.7555 | 0.9567 |
| 0.2500 | 2.0 | 1250 | 0.1224 | 0.8377 | 0.8824 | 0.8594 | 0.9733 |
| 0.2398 | 3.0 | 1875 | 0.1026 | 0.8528 | 0.9019 | 0.8767 | 0.9761 |
| 0.1524 | 4.0 | 2500 | 0.0955 | 0.8672 | 0.9069 | 0.8866 | 0.9781 |
| 0.1298 | 5.0 | 3125 | 0.0931 | 0.8682 | 0.9093 | 0.8883 | 0.9784 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.5.1+cu121
- Datasets 4.1.1
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for DontKnooow/task3-5-bge-small-ner
Base model
BAAI/bge-small-en-v1.5