Instructions to use MrKustic/dl2-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MrKustic/dl2-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MrKustic/dl2-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MrKustic/dl2-ner") model = AutoModelForTokenClassification.from_pretrained("MrKustic/dl2-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
dl2-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.0954
- Precision: 0.8661
- Recall: 0.9066
- F1: 0.8859
- Accuracy: 0.9778
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 with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2209 | 1.0 | 1250 | 0.1394 | 0.8089 | 0.8657 | 0.8364 | 0.9695 |
| 0.1095 | 2.0 | 2500 | 0.1013 | 0.8591 | 0.8987 | 0.8784 | 0.9768 |
| 0.0806 | 3.0 | 3750 | 0.0954 | 0.8661 | 0.9066 | 0.8859 | 0.9778 |
Framework versions
- Transformers 4.50.0
- Pytorch 2.11.0+cu128
- Datasets 3.4.1
- Tokenizers 0.21.4
- Downloads last month
- -
Model tree for MrKustic/dl2-ner
Base model
BAAI/bge-small-en-v1.5