Instructions to use Kevin201217/bert-finetuned-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kevin201217/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Kevin201217/bert-finetuned-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kevin201217/bert-finetuned-ner") model = AutoModelForTokenClassification.from_pretrained("Kevin201217/bert-finetuned-ner") - Notebooks
- Google Colab
- Kaggle
Training complete
Browse files
README.md
CHANGED
|
@@ -20,10 +20,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [microsoft/biogpt](https://huggingface.co/microsoft/biogpt) on the None dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
-
- Loss: 0.
|
| 24 |
-
- Precision: 0.
|
| 25 |
- Recall: 0.7942
|
| 26 |
-
- F1: 0.
|
| 27 |
- Accuracy: 0.9787
|
| 28 |
|
| 29 |
## Model description
|
|
@@ -55,9 +55,9 @@ The following hyperparameters were used during training:
|
|
| 55 |
|
| 56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 57 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.0136 | 3.0 | 2037 | 0.
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [microsoft/biogpt](https://huggingface.co/microsoft/biogpt) on the None dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.0909
|
| 24 |
+
- Precision: 0.6831
|
| 25 |
- Recall: 0.7942
|
| 26 |
+
- F1: 0.7344
|
| 27 |
- Accuracy: 0.9787
|
| 28 |
|
| 29 |
## Model description
|
|
|
|
| 55 |
|
| 56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 57 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 58 |
+
| 0.1074 | 1.0 | 679 | 0.0666 | 0.6112 | 0.7891 | 0.6889 | 0.9764 |
|
| 59 |
+
| 0.0483 | 2.0 | 1358 | 0.0678 | 0.6894 | 0.8094 | 0.7446 | 0.9793 |
|
| 60 |
+
| 0.0136 | 3.0 | 2037 | 0.0909 | 0.6831 | 0.7942 | 0.7344 | 0.9787 |
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|