Instructions to use dany0407/token_classification_NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dany0407/token_classification_NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="dany0407/token_classification_NER")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("dany0407/token_classification_NER") model = AutoModelForTokenClassification.from_pretrained("dany0407/token_classification_NER") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +14 -14
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
-
base_model:
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
@@ -19,13 +19,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
# token_classification_NER
|
| 21 |
|
| 22 |
-
This model is a fine-tuned version of [
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
-
- Precision: 0.
|
| 26 |
-
- Recall: 0.
|
| 27 |
-
- F1: 0.
|
| 28 |
-
- Accuracy: 0.
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
@@ -56,16 +56,16 @@ The following hyperparameters were used during training:
|
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 59 |
-
| No log | 1.0 | 213 | 0.
|
| 60 |
-
| No log | 2.0 | 426 | 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
| 67 |
|
| 68 |
- Transformers 4.53.3
|
| 69 |
-
- Pytorch 2.
|
| 70 |
- Datasets 4.0.0
|
| 71 |
-
- Tokenizers 0.21.
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
+
base_model: distilbert/distilbert-base-uncased
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
|
|
| 19 |
|
| 20 |
# token_classification_NER
|
| 21 |
|
| 22 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.2953
|
| 25 |
+
- Precision: 0.5219
|
| 26 |
+
- Recall: 0.3652
|
| 27 |
+
- F1: 0.4297
|
| 28 |
+
- Accuracy: 0.9454
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 59 |
+
| No log | 1.0 | 213 | 0.2830 | 0.6282 | 0.2725 | 0.3801 | 0.9404 |
|
| 60 |
+
| No log | 2.0 | 426 | 0.2657 | 0.5408 | 0.3133 | 0.3967 | 0.9427 |
|
| 61 |
+
| 0.178 | 3.0 | 639 | 0.2892 | 0.5566 | 0.3281 | 0.4128 | 0.9448 |
|
| 62 |
+
| 0.178 | 4.0 | 852 | 0.2948 | 0.5483 | 0.3522 | 0.4289 | 0.9456 |
|
| 63 |
+
| 0.0505 | 5.0 | 1065 | 0.2953 | 0.5219 | 0.3652 | 0.4297 | 0.9454 |
|
| 64 |
|
| 65 |
|
| 66 |
### Framework versions
|
| 67 |
|
| 68 |
- Transformers 4.53.3
|
| 69 |
+
- Pytorch 2.10.0+cu128
|
| 70 |
- Datasets 4.0.0
|
| 71 |
+
- Tokenizers 0.21.4
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 265503852
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbaadfffc5ea5992d9f0719c7838c1d0678c499ee6866b9f7e6ee8e0d74edc9f
|
| 3 |
size 265503852
|