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")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kriyans/Bert-NER") model = AutoModelForTokenClassification.from_pretrained("Kriyans/Bert-NER") - 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:
|
| 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:
|
| 49 |
-
- Recall:
|
| 50 |
-
- F1:
|
| 51 |
-
- Accuracy:
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
|
|
@@ -73,17 +73,22 @@ The following hyperparameters were used during training:
|
|
| 73 |
- seed: 42
|
| 74 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 75 |
- lr_scheduler_type: linear
|
| 76 |
-
- num_epochs:
|
| 77 |
|
| 78 |
### Training results
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
### Framework versions
|
|
|
|
| 25 |
metrics:
|
| 26 |
- name: Precision
|
| 27 |
type: precision
|
| 28 |
+
value: 1.0
|
| 29 |
- name: Recall
|
| 30 |
type: recall
|
| 31 |
+
value: 0.999957470335559
|
| 32 |
- name: F1
|
| 33 |
type: f1
|
| 34 |
+
value: 0.9999787347155767
|
| 35 |
- name: Accuracy
|
| 36 |
type: accuracy
|
| 37 |
+
value: 0.9999890011988694
|
| 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.0000
|
| 48 |
+
- Precision: 1.0
|
| 49 |
+
- Recall: 1.0000
|
| 50 |
+
- F1: 1.0000
|
| 51 |
+
- Accuracy: 1.0000
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
|
|
|
|
| 73 |
- seed: 42
|
| 74 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 75 |
- lr_scheduler_type: linear
|
| 76 |
+
- num_epochs: 10
|
| 77 |
|
| 78 |
### Training results
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
+
| 0.0127 | 1.0 | 626 | 0.0069 | 0.9955 | 0.9957 | 0.9956 | 0.9986 |
|
| 83 |
+
| 0.01 | 2.0 | 1252 | 0.0068 | 0.9972 | 0.9971 | 0.9972 | 0.9991 |
|
| 84 |
+
| 0.0075 | 3.0 | 1878 | 0.0029 | 0.9987 | 0.9982 | 0.9984 | 0.9995 |
|
| 85 |
+
| 0.006 | 4.0 | 2504 | 0.0010 | 0.9994 | 0.9994 | 0.9994 | 0.9998 |
|
| 86 |
+
| 0.0052 | 5.0 | 3130 | 0.0007 | 0.9997 | 0.9997 | 0.9997 | 0.9999 |
|
| 87 |
+
| 0.0032 | 6.0 | 3756 | 0.0003 | 0.9999 | 0.9998 | 0.9999 | 1.0000 |
|
| 88 |
+
| 0.003 | 7.0 | 4382 | 0.0001 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
|
| 89 |
+
| 0.0013 | 8.0 | 5008 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 |
|
| 90 |
+
| 0.0013 | 9.0 | 5634 | 0.0001 | 1.0000 | 0.9999 | 0.9999 | 1.0000 |
|
| 91 |
+
| 0.0011 | 10.0 | 6260 | 0.0000 | 1.0 | 1.0000 | 1.0000 | 1.0000 |
|
| 92 |
|
| 93 |
|
| 94 |
### Framework versions
|