senthil2002
commited on
Commit
•
25474af
1
Parent(s):
de1f0b4
End of training
Browse files- README.md +115 -0
- config.json +32 -0
- model.safetensors +3 -0
- runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181624.d924af8323c8.517.2 +3 -0
- runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181667.d924af8323c8.517.3 +3 -0
- runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181717.d924af8323c8.517.4 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: distilbert_finetune_own_data_model
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# distilbert_finetune_own_data_model
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.9434
|
24 |
+
- Precision: 0.0
|
25 |
+
- Recall: 0.0
|
26 |
+
- F1: 0.0
|
27 |
+
- Accuracy: 0.8333
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 16
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 50
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
|
58 |
+
| No log | 1.0 | 1 | 0.8480 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
59 |
+
| No log | 2.0 | 2 | 0.8506 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
60 |
+
| No log | 3.0 | 3 | 0.8527 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
61 |
+
| No log | 4.0 | 4 | 0.8546 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
62 |
+
| No log | 5.0 | 5 | 0.8564 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
63 |
+
| No log | 6.0 | 6 | 0.8577 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
64 |
+
| No log | 7.0 | 7 | 0.8604 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
65 |
+
| No log | 8.0 | 8 | 0.8609 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
66 |
+
| No log | 9.0 | 9 | 0.8604 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
67 |
+
| No log | 10.0 | 10 | 0.8607 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
68 |
+
| No log | 11.0 | 11 | 0.8608 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
69 |
+
| No log | 12.0 | 12 | 0.8619 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
70 |
+
| No log | 13.0 | 13 | 0.8629 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
71 |
+
| No log | 14.0 | 14 | 0.8644 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
72 |
+
| No log | 15.0 | 15 | 0.8665 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
73 |
+
| No log | 16.0 | 16 | 0.8686 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
74 |
+
| No log | 17.0 | 17 | 0.8710 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
75 |
+
| No log | 18.0 | 18 | 0.8738 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
76 |
+
| No log | 19.0 | 19 | 0.8770 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
77 |
+
| No log | 20.0 | 20 | 0.8802 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
78 |
+
| No log | 21.0 | 21 | 0.8838 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
79 |
+
| No log | 22.0 | 22 | 0.8877 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
80 |
+
| No log | 23.0 | 23 | 0.8919 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
81 |
+
| No log | 24.0 | 24 | 0.8958 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
82 |
+
| No log | 25.0 | 25 | 0.8994 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
83 |
+
| No log | 26.0 | 26 | 0.9030 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
84 |
+
| No log | 27.0 | 27 | 0.9063 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
85 |
+
| No log | 28.0 | 28 | 0.9094 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
86 |
+
| No log | 29.0 | 29 | 0.9120 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
87 |
+
| No log | 30.0 | 30 | 0.9147 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
88 |
+
| No log | 31.0 | 31 | 0.9174 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
89 |
+
| No log | 32.0 | 32 | 0.9198 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
90 |
+
| No log | 33.0 | 33 | 0.9220 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
91 |
+
| No log | 34.0 | 34 | 0.9241 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
92 |
+
| No log | 35.0 | 35 | 0.9260 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
93 |
+
| No log | 36.0 | 36 | 0.9279 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
94 |
+
| No log | 37.0 | 37 | 0.9297 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
95 |
+
| No log | 38.0 | 38 | 0.9317 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
96 |
+
| No log | 39.0 | 39 | 0.9336 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
97 |
+
| No log | 40.0 | 40 | 0.9353 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
98 |
+
| No log | 41.0 | 41 | 0.9368 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
99 |
+
| No log | 42.0 | 42 | 0.9382 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
100 |
+
| No log | 43.0 | 43 | 0.9393 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
101 |
+
| No log | 44.0 | 44 | 0.9403 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
102 |
+
| No log | 45.0 | 45 | 0.9413 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
103 |
+
| No log | 46.0 | 46 | 0.9420 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
104 |
+
| No log | 47.0 | 47 | 0.9426 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
105 |
+
| No log | 48.0 | 48 | 0.9430 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
106 |
+
| No log | 49.0 | 49 | 0.9432 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
107 |
+
| No log | 50.0 | 50 | 0.9434 | 0.0 | 0.0 | 0.0 | 0.8333 |
|
108 |
+
|
109 |
+
|
110 |
+
### Framework versions
|
111 |
+
|
112 |
+
- Transformers 4.38.1
|
113 |
+
- Pytorch 2.1.0+cu121
|
114 |
+
- Datasets 2.17.1
|
115 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "CLASS"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"CLASS": 1,
|
18 |
+
"O": 0
|
19 |
+
},
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "distilbert",
|
22 |
+
"n_heads": 12,
|
23 |
+
"n_layers": 6,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"qa_dropout": 0.1,
|
26 |
+
"seq_classif_dropout": 0.2,
|
27 |
+
"sinusoidal_pos_embds": false,
|
28 |
+
"tie_weights_": true,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.38.1",
|
31 |
+
"vocab_size": 30522
|
32 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7ad626ecaa20293dd798df0189082ae02d15be8cc634d401f5e863fd1342c4a
|
3 |
+
size 265470008
|
runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181624.d924af8323c8.517.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10789c06c76132264784fb77069b382aeef4df379892576d2d514b5029f7a264
|
3 |
+
size 28096
|
runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181667.d924af8323c8.517.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27569d39279f9a826babf52f81f56247b7f38bea941115dd33157602e4e3ba2b
|
3 |
+
size 28559
|
runs/Feb29_04-40-03_d924af8323c8/events.out.tfevents.1709181717.d924af8323c8.517.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e32dbf9cbc9eb184c996cc2c5b5c0fa28508d7af929628f4b6f51ac421d1bf06
|
3 |
+
size 551
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "DistilBertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a23746a6c204d21f9453840c10cbe16fd1c0b85340ce9e79304efd20545c3226
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|