Token Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use peterhsu/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peterhsu/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="peterhsu/bert-finetuned-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("peterhsu/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("peterhsu/bert-finetuned-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -22,16 +22,16 @@ model-index:
|
|
| 22 |
metrics:
|
| 23 |
- name: Precision
|
| 24 |
type: precision
|
| 25 |
-
value: 0.
|
| 26 |
- name: Recall
|
| 27 |
type: recall
|
| 28 |
-
value: 0.
|
| 29 |
- name: F1
|
| 30 |
type: f1
|
| 31 |
-
value: 0.
|
| 32 |
- name: Accuracy
|
| 33 |
type: accuracy
|
| 34 |
-
value: 0.
|
| 35 |
---
|
| 36 |
|
| 37 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -41,11 +41,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 41 |
|
| 42 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
| 43 |
It achieves the following results on the evaluation set:
|
| 44 |
-
- Loss: 0.
|
| 45 |
-
- Precision: 0.
|
| 46 |
-
- Recall: 0.
|
| 47 |
-
- F1: 0.
|
| 48 |
-
- Accuracy: 0.
|
| 49 |
|
| 50 |
## Model description
|
| 51 |
|
|
@@ -76,9 +76,9 @@ The following hyperparameters were used during training:
|
|
| 76 |
|
| 77 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 78 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 79 |
-
| 0.
|
| 80 |
-
| 0.
|
| 81 |
-
| 0.
|
| 82 |
|
| 83 |
|
| 84 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Precision
|
| 24 |
type: precision
|
| 25 |
+
value: 0.9329479768786128
|
| 26 |
- name: Recall
|
| 27 |
type: recall
|
| 28 |
+
value: 0.9506900033658701
|
| 29 |
- name: F1
|
| 30 |
type: f1
|
| 31 |
+
value: 0.9417354338584647
|
| 32 |
- name: Accuracy
|
| 33 |
type: accuracy
|
| 34 |
+
value: 0.9863719314770119
|
| 35 |
---
|
| 36 |
|
| 37 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 41 |
|
| 42 |
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
| 43 |
It achieves the following results on the evaluation set:
|
| 44 |
+
- Loss: 0.0609
|
| 45 |
+
- Precision: 0.9329
|
| 46 |
+
- Recall: 0.9507
|
| 47 |
+
- F1: 0.9417
|
| 48 |
+
- Accuracy: 0.9864
|
| 49 |
|
| 50 |
## Model description
|
| 51 |
|
|
|
|
| 76 |
|
| 77 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 78 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 79 |
+
| 0.086 | 1.0 | 1756 | 0.0632 | 0.9255 | 0.9408 | 0.9331 | 0.9833 |
|
| 80 |
+
| 0.0316 | 2.0 | 3512 | 0.0631 | 0.9252 | 0.9456 | 0.9353 | 0.9846 |
|
| 81 |
+
| 0.0219 | 3.0 | 5268 | 0.0609 | 0.9329 | 0.9507 | 0.9417 | 0.9864 |
|
| 82 |
|
| 83 |
|
| 84 |
### Framework versions
|