DipakBundheliya
commited on
Commit
•
b1ff295
1
Parent(s):
94828d0
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- shipping_label_ner
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: ner_bert_model
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: shipping_label_ner
|
21 |
+
type: shipping_label_ner
|
22 |
+
config: shipping_label_ner
|
23 |
+
split: validation
|
24 |
+
args: shipping_label_ner
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.8095238095238095
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.9066666666666666
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.8553459119496856
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.8926553672316384
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# ner_bert_model
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the shipping_label_ner dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.4675
|
48 |
+
- Precision: 0.8095
|
49 |
+
- Recall: 0.9067
|
50 |
+
- F1: 0.8553
|
51 |
+
- Accuracy: 0.8927
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 2e-05
|
71 |
+
- train_batch_size: 8
|
72 |
+
- eval_batch_size: 2
|
73 |
+
- seed: 42
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- num_epochs: 20
|
77 |
+
|
78 |
+
### Training results
|
79 |
+
|
80 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
81 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
82 |
+
| No log | 1.0 | 7 | 1.9550 | 0.0 | 0.0 | 0.0 | 0.4294 |
|
83 |
+
| No log | 2.0 | 14 | 1.7431 | 0.0 | 0.0 | 0.0 | 0.4407 |
|
84 |
+
| No log | 3.0 | 21 | 1.5315 | 0.2632 | 0.0667 | 0.1064 | 0.5198 |
|
85 |
+
| No log | 4.0 | 28 | 1.3289 | 0.5490 | 0.3733 | 0.4444 | 0.6215 |
|
86 |
+
| No log | 5.0 | 35 | 1.1498 | 0.5246 | 0.4267 | 0.4706 | 0.6497 |
|
87 |
+
| No log | 6.0 | 42 | 1.0278 | 0.5921 | 0.6 | 0.5960 | 0.7175 |
|
88 |
+
| No log | 7.0 | 49 | 0.8915 | 0.6579 | 0.6667 | 0.6623 | 0.7684 |
|
89 |
+
| No log | 8.0 | 56 | 0.8158 | 0.6786 | 0.76 | 0.7170 | 0.8023 |
|
90 |
+
| No log | 9.0 | 63 | 0.7012 | 0.7342 | 0.7733 | 0.7532 | 0.8249 |
|
91 |
+
| No log | 10.0 | 70 | 0.6421 | 0.7590 | 0.84 | 0.7975 | 0.8475 |
|
92 |
+
| No log | 11.0 | 77 | 0.5944 | 0.8025 | 0.8667 | 0.8333 | 0.8757 |
|
93 |
+
| No log | 12.0 | 84 | 0.5570 | 0.7976 | 0.8933 | 0.8428 | 0.8870 |
|
94 |
+
| No log | 13.0 | 91 | 0.5088 | 0.8148 | 0.88 | 0.8462 | 0.8927 |
|
95 |
+
| No log | 14.0 | 98 | 0.5156 | 0.8193 | 0.9067 | 0.8608 | 0.8983 |
|
96 |
+
| No log | 15.0 | 105 | 0.4958 | 0.8171 | 0.8933 | 0.8535 | 0.8927 |
|
97 |
+
| No log | 16.0 | 112 | 0.4646 | 0.8171 | 0.8933 | 0.8535 | 0.8927 |
|
98 |
+
| No log | 17.0 | 119 | 0.4745 | 0.8095 | 0.9067 | 0.8553 | 0.8927 |
|
99 |
+
| No log | 18.0 | 126 | 0.4749 | 0.8095 | 0.9067 | 0.8553 | 0.8927 |
|
100 |
+
| No log | 19.0 | 133 | 0.4720 | 0.8095 | 0.9067 | 0.8553 | 0.8927 |
|
101 |
+
| No log | 20.0 | 140 | 0.4675 | 0.8095 | 0.9067 | 0.8553 | 0.8927 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.39.1
|
107 |
+
- Pytorch 2.2.1+cu121
|
108 |
+
- Datasets 2.18.0
|
109 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 260815972
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d24ac061699d26dbd8aea1766e6b0a5e9fe36add83e91b4875a2fbb21b11cc8
|
3 |
size 260815972
|
runs/Mar28_06-39-38_9f7108f719c8/events.out.tfevents.1711607983.9f7108f719c8.203.2
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e919fdfbacdc3735dbde20dd65599b27e7351eda6dbef2baec950a4f4d23972
|
3 |
+
size 14680
|