Token Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use Kriyans/Bert-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kriyans/Bert-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Kriyans/Bert-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kriyans/Bert-NER") model = AutoModelForTokenClassification.from_pretrained("Kriyans/Bert-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -25,16 +25,16 @@ model-index:
|
|
| 25 |
metrics:
|
| 26 |
- name: Precision
|
| 27 |
type: precision
|
| 28 |
-
value: 0.
|
| 29 |
- name: Recall
|
| 30 |
type: recall
|
| 31 |
-
value: 0.
|
| 32 |
- name: F1
|
| 33 |
type: f1
|
| 34 |
-
value: 0.
|
| 35 |
- name: Accuracy
|
| 36 |
type: accuracy
|
| 37 |
-
value: 0.
|
| 38 |
---
|
| 39 |
|
| 40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -44,11 +44,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 44 |
|
| 45 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.
|
| 46 |
It achieves the following results on the evaluation set:
|
| 47 |
-
- Loss: 0.
|
| 48 |
-
- Precision: 0.
|
| 49 |
-
- Recall: 0.
|
| 50 |
-
- F1: 0.
|
| 51 |
-
- Accuracy: 0.
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
|
|
@@ -79,8 +79,8 @@ The following hyperparameters were used during training:
|
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
|
| 85 |
|
| 86 |
### Framework versions
|
|
|
|
| 25 |
metrics:
|
| 26 |
- name: Precision
|
| 27 |
type: precision
|
| 28 |
+
value: 0.9805654698636115
|
| 29 |
- name: Recall
|
| 30 |
type: recall
|
| 31 |
+
value: 0.9645927116237604
|
| 32 |
- name: F1
|
| 33 |
type: f1
|
| 34 |
+
value: 0.9725135102144988
|
| 35 |
- name: Accuracy
|
| 36 |
type: accuracy
|
| 37 |
+
value: 0.9858187365837784
|
| 38 |
---
|
| 39 |
|
| 40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 44 |
|
| 45 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.
|
| 46 |
It achieves the following results on the evaluation set:
|
| 47 |
+
- Loss: 0.0454
|
| 48 |
+
- Precision: 0.9806
|
| 49 |
+
- Recall: 0.9646
|
| 50 |
+
- F1: 0.9725
|
| 51 |
+
- Accuracy: 0.9858
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
|
|
|
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
+
| 0.0831 | 1.17 | 500 | 0.0507 | 0.9756 | 0.9645 | 0.9700 | 0.9845 |
|
| 83 |
+
| 0.0473 | 2.33 | 1000 | 0.0454 | 0.9806 | 0.9646 | 0.9725 | 0.9858 |
|
| 84 |
|
| 85 |
|
| 86 |
### Framework versions
|