Token Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use Gayu/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gayu/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Gayu/bert-finetuned-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Gayu/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("Gayu/bert-finetuned-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -24,16 +24,16 @@ model-index:
|
|
| 24 |
metrics:
|
| 25 |
- name: Precision
|
| 26 |
type: precision
|
| 27 |
-
value: 0.
|
| 28 |
- name: Recall
|
| 29 |
type: recall
|
| 30 |
-
value: 0.
|
| 31 |
- name: F1
|
| 32 |
type: f1
|
| 33 |
-
value: 0.
|
| 34 |
- name: Accuracy
|
| 35 |
type: accuracy
|
| 36 |
-
value: 0.
|
| 37 |
---
|
| 38 |
|
| 39 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -43,11 +43,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 43 |
|
| 44 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
| 45 |
It achieves the following results on the evaluation set:
|
| 46 |
-
- Loss: 0.
|
| 47 |
-
- Precision: 0.
|
| 48 |
-
- Recall: 0.
|
| 49 |
-
- F1: 0.
|
| 50 |
-
- Accuracy: 0.
|
| 51 |
|
| 52 |
## Model description
|
| 53 |
|
|
@@ -78,14 +78,14 @@ The following hyperparameters were used during training:
|
|
| 78 |
|
| 79 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 80 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 81 |
-
| 0.
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
|
| 85 |
|
| 86 |
### Framework versions
|
| 87 |
|
| 88 |
-
- Transformers 4.30.
|
| 89 |
- Pytorch 2.0.1+cu118
|
| 90 |
-
- Datasets 2.
|
| 91 |
- Tokenizers 0.13.3
|
|
|
|
| 24 |
metrics:
|
| 25 |
- name: Precision
|
| 26 |
type: precision
|
| 27 |
+
value: 0.9340732151730993
|
| 28 |
- name: Recall
|
| 29 |
type: recall
|
| 30 |
+
value: 0.9490070683271625
|
| 31 |
- name: F1
|
| 32 |
type: f1
|
| 33 |
+
value: 0.9414809249519994
|
| 34 |
- name: Accuracy
|
| 35 |
type: accuracy
|
| 36 |
+
value: 0.9859598516512628
|
| 37 |
---
|
| 38 |
|
| 39 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 43 |
|
| 44 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
| 45 |
It achieves the following results on the evaluation set:
|
| 46 |
+
- Loss: 0.0620
|
| 47 |
+
- Precision: 0.9341
|
| 48 |
+
- Recall: 0.9490
|
| 49 |
+
- F1: 0.9415
|
| 50 |
+
- Accuracy: 0.9860
|
| 51 |
|
| 52 |
## Model description
|
| 53 |
|
|
|
|
| 78 |
|
| 79 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 80 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 81 |
+
| 0.0895 | 1.0 | 1756 | 0.0694 | 0.9148 | 0.9337 | 0.9241 | 0.9823 |
|
| 82 |
+
| 0.0345 | 2.0 | 3512 | 0.0657 | 0.9279 | 0.9488 | 0.9383 | 0.9854 |
|
| 83 |
+
| 0.0185 | 3.0 | 5268 | 0.0620 | 0.9341 | 0.9490 | 0.9415 | 0.9860 |
|
| 84 |
|
| 85 |
|
| 86 |
### Framework versions
|
| 87 |
|
| 88 |
+
- Transformers 4.30.2
|
| 89 |
- Pytorch 2.0.1+cu118
|
| 90 |
+
- Datasets 2.13.0
|
| 91 |
- Tokenizers 0.13.3
|