Training completed!
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: dslim/distilbert-NER
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- conll2012_ontonotesv5
|
8 |
+
metrics:
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-NER-finetuned-bert-tiny
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Token Classification
|
15 |
+
type: token-classification
|
16 |
+
dataset:
|
17 |
+
name: conll2012_ontonotesv5
|
18 |
+
type: conll2012_ontonotesv5
|
19 |
+
config: english_v4
|
20 |
+
split: validation
|
21 |
+
args: english_v4
|
22 |
+
metrics:
|
23 |
+
- name: F1
|
24 |
+
type: f1
|
25 |
+
value: 0.4683072334079046
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# distilbert-NER-finetuned-bert-tiny
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [dslim/distilbert-NER](https://huggingface.co/dslim/distilbert-NER) on the conll2012_ontonotesv5 dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.5602
|
36 |
+
- F1: 0.4683
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 24
|
57 |
+
- eval_batch_size: 24
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 3
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
67 |
+
| 1.0495 | 1.0 | 81 | 0.7833 | 0.3529 |
|
68 |
+
| 0.6421 | 2.0 | 162 | 0.6088 | 0.4570 |
|
69 |
+
| 0.5065 | 3.0 | 243 | 0.5602 | 0.4683 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.42.4
|
75 |
+
- Pytorch 2.4.0+cu121
|
76 |
+
- Datasets 2.21.0
|
77 |
+
- Tokenizers 0.19.1
|
runs/Aug31_23-16-32_d0b0eca3538a/events.out.tfevents.1725146205.d0b0eca3538a.498.0
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:9cf894b117a1c83787189d16f1e275cb41a0b39dfb3ba4b1b65a757559a63bc5
|
3 |
+
size 8636
|
tokenizer.json
CHANGED
@@ -7,9 +7,7 @@
|
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
-
"strategy":
|
11 |
-
"Fixed": 512
|
12 |
-
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
15 |
"pad_id": 0,
|
|
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
+
"strategy": "BatchLongest",
|
|
|
|
|
11 |
"direction": "Right",
|
12 |
"pad_to_multiple_of": null,
|
13 |
"pad_id": 0,
|