Instructions to use Ella01/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ella01/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Ella01/bert-finetuned-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Ella01/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("Ella01/bert-finetuned-ner") - Notebooks
- Google Colab
- Kaggle
Training complete
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 [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 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,14 +79,14 @@ The following hyperparameters were used during training:
|
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
-
|
|
| 83 |
-
|
|
| 84 |
-
|
|
| 85 |
|
| 86 |
|
| 87 |
### Framework versions
|
| 88 |
|
| 89 |
-
- Transformers 4.
|
| 90 |
-
- Pytorch 2.
|
| 91 |
- Datasets 2.20.0
|
| 92 |
- Tokenizers 0.19.1
|
|
|
|
| 25 |
metrics:
|
| 26 |
- name: Precision
|
| 27 |
type: precision
|
| 28 |
+
value: 0.9493392070484582
|
| 29 |
- name: Recall
|
| 30 |
type: recall
|
| 31 |
+
value: 0.9577777777777777
|
| 32 |
- name: F1
|
| 33 |
type: f1
|
| 34 |
+
value: 0.9535398230088495
|
| 35 |
- name: Accuracy
|
| 36 |
type: accuracy
|
| 37 |
+
value: 0.9834710743801653
|
| 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 [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
|
| 46 |
It achieves the following results on the evaluation set:
|
| 47 |
+
- Loss: 0.0572
|
| 48 |
+
- Precision: 0.9493
|
| 49 |
+
- Recall: 0.9578
|
| 50 |
+
- F1: 0.9535
|
| 51 |
+
- Accuracy: 0.9835
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
|
|
|
|
| 79 |
|
| 80 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 81 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 82 |
+
| No log | 1.0 | 125 | 0.0625 | 0.9304 | 0.9511 | 0.9407 | 0.9816 |
|
| 83 |
+
| No log | 2.0 | 250 | 0.0662 | 0.9409 | 0.9556 | 0.9482 | 0.9832 |
|
| 84 |
+
| No log | 3.0 | 375 | 0.0572 | 0.9493 | 0.9578 | 0.9535 | 0.9835 |
|
| 85 |
|
| 86 |
|
| 87 |
### Framework versions
|
| 88 |
|
| 89 |
+
- Transformers 4.41.2
|
| 90 |
+
- Pytorch 2.3.0+cu121
|
| 91 |
- Datasets 2.20.0
|
| 92 |
- Tokenizers 0.19.1
|