Zhuofang
commited on
Commit
·
b7e6bfe
1
Parent(s):
9bde330
End of training
Browse files- README.md +75 -0
- config.json +25 -0
- model.safetensors +3 -0
- runs/Jan06_03-27-33_4ee9f976449c/events.out.tfevents.1704511654.4ee9f976449c.1086.0 +3 -0
- runs/Jan06_03-43-05_4ee9f976449c/events.out.tfevents.1704512586.4ee9f976449c.1086.1 +3 -0
- runs/Jan06_03-46-07_4ee9f976449c/events.out.tfevents.1704512768.4ee9f976449c.1086.2 +3 -0
- runs/Jan06_03-46-55_4ee9f976449c/events.out.tfevents.1704512816.4ee9f976449c.1086.3 +3 -0
- runs/Jan06_03-47-39_4ee9f976449c/events.out.tfevents.1704512860.4ee9f976449c.1086.4 +3 -0
- runs/Jan06_03-47-57_4ee9f976449c/events.out.tfevents.1704512879.4ee9f976449c.1086.5 +3 -0
- runs/Jan06_03-49-35_4ee9f976449c/events.out.tfevents.1704512976.4ee9f976449c.1086.6 +3 -0
- runs/Jan06_03-50-30_4ee9f976449c/events.out.tfevents.1704513031.4ee9f976449c.1086.7 +3 -0
- runs/Jan06_03-51-58_4ee9f976449c/events.out.tfevents.1704513119.4ee9f976449c.1086.8 +3 -0
- runs/Jan06_03-58-06_4ee9f976449c/events.out.tfevents.1704513487.4ee9f976449c.1086.9 +3 -0
- runs/Jan06_03-58-58_4ee9f976449c/events.out.tfevents.1704513539.4ee9f976449c.1086.10 +3 -0
- runs/Jan06_04-00-10_4ee9f976449c/events.out.tfevents.1704513611.4ee9f976449c.1086.11 +3 -0
- runs/Jan06_04-07-19_4ee9f976449c/events.out.tfevents.1704514040.4ee9f976449c.1086.12 +3 -0
- runs/Jan06_04-10-29_4ee9f976449c/events.out.tfevents.1704514229.4ee9f976449c.11828.0 +3 -0
- runs/Jan06_04-13-26_4ee9f976449c/events.out.tfevents.1704514407.4ee9f976449c.11828.1 +3 -0
- runs/Jan06_04-14-02_4ee9f976449c/events.out.tfevents.1704514443.4ee9f976449c.11828.2 +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,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- recall
|
10 |
+
model-index:
|
11 |
+
- name: my_awesome_model
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# my_awesome_model
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.7362
|
23 |
+
- Accuracy: {'accuracy': 0.7291666666666666}
|
24 |
+
- F1: {'f1': 0.7417218543046359}
|
25 |
+
- Recall: {'recall': 0.7417218543046358}
|
26 |
+
- Auc: {'roc_auc': 0.7285251607289602}
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 64
|
47 |
+
- eval_batch_size: 64
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 10
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Auc |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------------------------:|:--------------------------:|:------------------------------:|:-------------------------------:|
|
57 |
+
| No log | 0.91 | 10 | 0.5662 | {'accuracy': 0.6875} | {'f1': 0.7} | {'recall': 0.695364238410596} | {'roc_auc': 0.6870981775994585} |
|
58 |
+
| No log | 1.82 | 20 | 0.5665 | {'accuracy': 0.6909722222222222} | {'f1': 0.6832740213523132} | {'recall': 0.6357615894039735} | {'roc_auc': 0.693793203461111} |
|
59 |
+
| No log | 2.73 | 30 | 0.5643 | {'accuracy': 0.7256944444444444} | {'f1': 0.7127272727272727} | {'recall': 0.6490066225165563} | {'roc_auc': 0.729612800309373} |
|
60 |
+
| No log | 3.64 | 40 | 0.5743 | {'accuracy': 0.7465277777777778} | {'f1': 0.750853242320819} | {'recall': 0.7284768211920529} | {'roc_auc': 0.7474500894281433} |
|
61 |
+
| No log | 4.55 | 50 | 0.6057 | {'accuracy': 0.7430555555555556} | {'f1': 0.7448275862068965} | {'recall': 0.7152317880794702} | {'roc_auc': 0.7444772079083483} |
|
62 |
+
| No log | 5.45 | 60 | 0.6318 | {'accuracy': 0.7291666666666666} | {'f1': 0.7382550335570469} | {'recall': 0.7284768211920529} | {'roc_auc': 0.7292019142456615} |
|
63 |
+
| No log | 6.36 | 70 | 0.6664 | {'accuracy': 0.7291666666666666} | {'f1': 0.7450980392156863} | {'recall': 0.7549668874172185} | {'roc_auc': 0.7278484072122589} |
|
64 |
+
| No log | 7.27 | 80 | 0.7007 | {'accuracy': 0.7222222222222222} | {'f1': 0.7241379310344827} | {'recall': 0.695364238410596} | {'roc_auc': 0.7235945279644221} |
|
65 |
+
| No log | 8.18 | 90 | 0.7178 | {'accuracy': 0.7326388888888888} | {'f1': 0.7458745874587459} | {'recall': 0.7483443708609272} | {'roc_auc': 0.7318364190071059} |
|
66 |
+
| No log | 9.09 | 100 | 0.7396 | {'accuracy': 0.7256944444444444} | {'f1': 0.7285223367697595} | {'recall': 0.7019867549668874} | {'roc_auc': 0.7269057862425677} |
|
67 |
+
| No log | 10.0 | 110 | 0.7362 | {'accuracy': 0.7291666666666666} | {'f1': 0.7417218543046359} | {'recall': 0.7417218543046358} | {'roc_auc': 0.7285251607289602} |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.35.2
|
73 |
+
- Pytorch 2.1.0+cu121
|
74 |
+
- Datasets 2.16.1
|
75 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"problem_type": "single_label_classification",
|
18 |
+
"qa_dropout": 0.1,
|
19 |
+
"seq_classif_dropout": 0.2,
|
20 |
+
"sinusoidal_pos_embds": false,
|
21 |
+
"tie_weights_": true,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.35.2",
|
24 |
+
"vocab_size": 30522
|
25 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74f62de44b83c45b538b84ec09944db6a1145934cfc5f0b3393d8189d1d95f98
|
3 |
+
size 267832560
|
runs/Jan06_03-27-33_4ee9f976449c/events.out.tfevents.1704511654.4ee9f976449c.1086.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfd3e08db6ea1c655c7fba92284a041adb8dd9009b8faaeca1130da27c8df5cd
|
3 |
+
size 4226
|
runs/Jan06_03-43-05_4ee9f976449c/events.out.tfevents.1704512586.4ee9f976449c.1086.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5b789c89c7404a622bc07fc5cda6e9ba35bc894f29104dd6593ed97587dd02a
|
3 |
+
size 4226
|
runs/Jan06_03-46-07_4ee9f976449c/events.out.tfevents.1704512768.4ee9f976449c.1086.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67b4b331ed7ac69244bf8d0c212a3d602e152e06cfa4431f46fc025a17a99f97
|
3 |
+
size 4275
|
runs/Jan06_03-46-55_4ee9f976449c/events.out.tfevents.1704512816.4ee9f976449c.1086.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b338b1e21ec1b96367668f49a667c9a640c31af3618928e8ad001b1f3582bb98
|
3 |
+
size 4275
|
runs/Jan06_03-47-39_4ee9f976449c/events.out.tfevents.1704512860.4ee9f976449c.1086.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4a8c420e5c8c0ffc5ee5b181aa480d0ecb46e443efd5af85684139b0f6a8be7
|
3 |
+
size 4275
|
runs/Jan06_03-47-57_4ee9f976449c/events.out.tfevents.1704512879.4ee9f976449c.1086.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:934f9042c60abd71db42e5ba3d60440e656bb7945338d5d7bea9e4a1f38d7d00
|
3 |
+
size 4275
|
runs/Jan06_03-49-35_4ee9f976449c/events.out.tfevents.1704512976.4ee9f976449c.1086.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ec69580b39723229f2f55e641130d815cc0a81188a3a5a2586ab6d52aa5bd6c
|
3 |
+
size 4275
|
runs/Jan06_03-50-30_4ee9f976449c/events.out.tfevents.1704513031.4ee9f976449c.1086.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d177d05e8078e4af4f99cbd14cc1fd42803fb03ade6c2785b5cb897d63dc6dc1
|
3 |
+
size 4275
|
runs/Jan06_03-51-58_4ee9f976449c/events.out.tfevents.1704513119.4ee9f976449c.1086.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af92cc33d5edd062a8fc5a33f0fda80b2b50236cf20f307c11c855f5ecbfa3a1
|
3 |
+
size 4275
|
runs/Jan06_03-58-06_4ee9f976449c/events.out.tfevents.1704513487.4ee9f976449c.1086.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10d90003e99b6a5fc6256ece5fb9e2571d773d17ee30faac872caae4d1846a6b
|
3 |
+
size 4275
|
runs/Jan06_03-58-58_4ee9f976449c/events.out.tfevents.1704513539.4ee9f976449c.1086.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42296b3d2801d6640f843358f850866a7e167d05f592535d278595a93d73646d
|
3 |
+
size 13665
|
runs/Jan06_04-00-10_4ee9f976449c/events.out.tfevents.1704513611.4ee9f976449c.1086.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2572e092b984a860f03b8c6ff801e57441b4e3983e9095edc4dd02e559764d35
|
3 |
+
size 9146
|
runs/Jan06_04-07-19_4ee9f976449c/events.out.tfevents.1704514040.4ee9f976449c.1086.12
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51d23563c65f2d4199b58233ea828fe9fb0315f324513b3a0fd56fffa9e30f8f
|
3 |
+
size 88
|
runs/Jan06_04-10-29_4ee9f976449c/events.out.tfevents.1704514229.4ee9f976449c.11828.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7a5f1aa3c2e7f1ce3c0809ce32a06d0c225f110ffb5e9ceff017ff247778774
|
3 |
+
size 4092
|
runs/Jan06_04-13-26_4ee9f976449c/events.out.tfevents.1704514407.4ee9f976449c.11828.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e638c08230f5d0db0453ceef4401c7042e7eb5c24e0d1d9dc5c89d2b487e494
|
3 |
+
size 4141
|
runs/Jan06_04-14-02_4ee9f976449c/events.out.tfevents.1704514443.4ee9f976449c.11828.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17cfe8a7589ec837bdf2d679ed48569f1fdaa85cc36ef3a61fdc901c6e3b7a5b
|
3 |
+
size 7415
|
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:8b129a69f5e49919a7d80bc9795f7794dafa0cc5824be08df97f9bf76f5162ef
|
3 |
+
size 4536
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|