Token Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use JohnLei/bert-large-200-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JohnLei/bert-large-200-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="JohnLei/bert-large-200-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("JohnLei/bert-large-200-ner") model = AutoModelForTokenClassification.from_pretrained("JohnLei/bert-large-200-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -26,16 +26,16 @@ model-index:
|
|
| 26 |
metrics:
|
| 27 |
- name: Precision
|
| 28 |
type: precision
|
| 29 |
-
value: 0.
|
| 30 |
- name: Recall
|
| 31 |
type: recall
|
| 32 |
-
value: 0.
|
| 33 |
- name: F1
|
| 34 |
type: f1
|
| 35 |
-
value: 0.
|
| 36 |
- name: Accuracy
|
| 37 |
type: accuracy
|
| 38 |
-
value: 0.
|
| 39 |
---
|
| 40 |
|
| 41 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -45,11 +45,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 45 |
|
| 46 |
This model is a fine-tuned version of [bert-large-cased](https://huggingface.co/bert-large-cased) on the conll2003 dataset.
|
| 47 |
It achieves the following results on the evaluation set:
|
| 48 |
-
- Loss:
|
| 49 |
-
- Precision: 0.
|
| 50 |
-
- Recall: 0.
|
| 51 |
-
- F1: 0.
|
| 52 |
-
- Accuracy: 0.
|
| 53 |
|
| 54 |
## Model description
|
| 55 |
|
|
@@ -80,9 +80,9 @@ The following hyperparameters were used during training:
|
|
| 80 |
|
| 81 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 82 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 83 |
-
| No log | 1.0 |
|
| 84 |
-
| No log | 2.0 |
|
| 85 |
-
| No log | 3.0 |
|
| 86 |
|
| 87 |
|
| 88 |
### Framework versions
|
|
|
|
| 26 |
metrics:
|
| 27 |
- name: Precision
|
| 28 |
type: precision
|
| 29 |
+
value: 0.7622442653440794
|
| 30 |
- name: Recall
|
| 31 |
type: recall
|
| 32 |
+
value: 0.8276674520363514
|
| 33 |
- name: F1
|
| 34 |
type: f1
|
| 35 |
+
value: 0.7936098111989672
|
| 36 |
- name: Accuracy
|
| 37 |
type: accuracy
|
| 38 |
+
value: 0.968322884622873
|
| 39 |
---
|
| 40 |
|
| 41 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 45 |
|
| 46 |
This model is a fine-tuned version of [bert-large-cased](https://huggingface.co/bert-large-cased) on the conll2003 dataset.
|
| 47 |
It achieves the following results on the evaluation set:
|
| 48 |
+
- Loss: 0.1527
|
| 49 |
+
- Precision: 0.7622
|
| 50 |
+
- Recall: 0.8277
|
| 51 |
+
- F1: 0.7936
|
| 52 |
+
- Accuracy: 0.9683
|
| 53 |
|
| 54 |
## Model description
|
| 55 |
|
|
|
|
| 80 |
|
| 81 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 82 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 83 |
+
| No log | 1.0 | 100 | 0.3317 | 0.4836 | 0.5545 | 0.5167 | 0.9237 |
|
| 84 |
+
| No log | 2.0 | 200 | 0.1819 | 0.7122 | 0.7763 | 0.7429 | 0.9607 |
|
| 85 |
+
| No log | 3.0 | 300 | 0.1527 | 0.7622 | 0.8277 | 0.7936 | 0.9683 |
|
| 86 |
|
| 87 |
|
| 88 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1330202364
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a6e0ba8c8bbf70d0e8f2b80cecd819f91e007a7349fa9b745d26dab9f0f6047
|
| 3 |
size 1330202364
|
runs/Apr24_20-28-01_DESKTOP-IMESE8D/events.out.tfevents.1745497683.DESKTOP-IMESE8D.218322.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:778827a98211f9568ed9342b7a7540c1b8a4ae07bd7556da09ee400929136064
|
| 3 |
+
size 7280
|
tokenizer.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
"direction": "Right",
|
| 5 |
-
"max_length": 512,
|
| 6 |
-
"strategy": "LongestFirst",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
"padding": null,
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5304
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92477de0cf47ac1a03d43dff707ac9e73e80040f63c181e9936332693b98a17d
|
| 3 |
size 5304
|