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")# pip install -U transformers accelerate # 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
Upload best model
Browse files
README.md
CHANGED
|
@@ -21,11 +21,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
-
- Precision: 0.
|
| 26 |
-
- Recall: 0.
|
| 27 |
-
- F1: 0.
|
| 28 |
-
- Accuracy: 0.
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
@@ -56,8 +56,9 @@ The following hyperparameters were used during training:
|
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.0954
|
| 25 |
+
- Precision: 0.8661
|
| 26 |
+
- Recall: 0.9066
|
| 27 |
+
- F1: 0.8859
|
| 28 |
+
- Accuracy: 0.9778
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 59 |
+
| 0.2209 | 1.0 | 1250 | 0.1394 | 0.8089 | 0.8657 | 0.8364 | 0.9695 |
|
| 60 |
+
| 0.1095 | 2.0 | 2500 | 0.1013 | 0.8591 | 0.8987 | 0.8784 | 0.9768 |
|
| 61 |
+
| 0.0806 | 3.0 | 3750 | 0.0954 | 0.8661 | 0.9066 | 0.8859 | 0.9778 |
|
| 62 |
|
| 63 |
|
| 64 |
### Framework versions
|