jed351 commited on
Commit
f34e9d2
1 Parent(s): 1f4473c

Upload with huggingface_hub

Browse files
.DS_Store ADDED
Binary file (8.2 kB). View file
 
added_tokens.json ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "㖭": 21128,
3
+ "㨂": 21129,
4
+ "㩒": 21130,
5
+ "䏙": 21131,
6
+ "䚗": 21132,
7
+ "䟕": 21133,
8
+ "乸": 21134,
9
+ "仼": 21135,
10
+ "冚": 21136,
11
+ "冧": 21137,
12
+ "厠": 21138,
13
+ "厹": 21139,
14
+ "吔": 21140,
15
+ "呔": 21141,
16
+ "咇": 21142,
17
+ "唒": 21143,
18
+ "唓": 21144,
19
+ "唞": 21145,
20
+ "啩": 21146,
21
+ "喼": 21147,
22
+ "嗄": 21148,
23
+ "嗌": 21149,
24
+ "嗮": 21150,
25
+ "嗱": 21151,
26
+ "嘥": 21152,
27
+ "噃": 21153,
28
+ "噉": 21154,
29
+ "噏": 21155,
30
+ "噚": 21156,
31
+ "嚹": 21157,
32
+ "嚿": 21158,
33
+ "囇": 21159,
34
+ "囯": 21160,
35
+ "妺": 21161,
36
+ "嬲": 21162,
37
+ "孭": 21163,
38
+ "屙": 21164,
39
+ "廸": 21165,
40
+ "彊": 21166,
41
+ "戇": 21167,
42
+ "戥": 21168,
43
+ "扚": 21169,
44
+ "扠": 21170,
45
+ "扺": 21171,
46
+ "扻": 21172,
47
+ "抆": 21173,
48
+ "抌": 21174,
49
+ "抺": 21175,
50
+ "捽": 21176,
51
+ "掕": 21177,
52
+ "掟": 21178,
53
+ "掹": 21179,
54
+ "揦": 21180,
55
+ "揼": 21181,
56
+ "揾": 21182,
57
+ "搣": 21183,
58
+ "搥": 21184,
59
+ "搲": 21185,
60
+ "摙": 21186,
61
+ "摷": 21187,
62
+ "撘": 21188,
63
+ "撳": 21189,
64
+ "攋": 21190,
65
+ "攰": 21191,
66
+ "曱": 21192,
67
+ "栢": 21193,
68
+ "梘": 21194,
69
+ "櫈": 21195,
70
+ "欅": 21196,
71
+ "殻": 21197,
72
+ "炆": 21198,
73
+ "烚": 21199,
74
+ "燶": 21200,
75
+ "猁": 21201,
76
+ "猢": 21202,
77
+ "獌": 21203,
78
+ "甴": 21204,
79
+ "痾": 21205,
80
+ "瘜": 21206,
81
+ "癈": 21207,
82
+ "癪": 21208,
83
+ "砵": 21209,
84
+ "祼": 21210,
85
+ "罅": 21211,
86
+ "罉": 21212,
87
+ "脷": 21213,
88
+ "蚑": 21214,
89
+ "蝻": 21215,
90
+ "袓": 21216,
91
+ "裇": 21217,
92
+ "褸": 21218,
93
+ "趷": 21219,
94
+ "跣": 21220,
95
+ "踎": 21221,
96
+ "踭": 21222,
97
+ "踼": 21223,
98
+ "躝": 21224,
99
+ "軚": 21225,
100
+ "鋭": 21226,
101
+ "錡": 21227,
102
+ "鍠": 21228,
103
+ "鎅": 21229,
104
+ "鏝": 21230,
105
+ "閂": 21231,
106
+ "閪": 21232,
107
+ "餸": 21233,
108
+ "騮": 21234,
109
+ "骹": 21235,
110
+ "髀": 21236,
111
+ "鰂": 21237,
112
+ "麖": 21238,
113
+ "黐": 21239,
114
+ "𠝹": 21240,
115
+ "𠵱": 21241,
116
+ "𠹌": 21242,
117
+ "𠺌": 21243,
118
+ "𠺘": 21244,
119
+ "𠻹": 21245,
120
+ "𠿪": 21246,
121
+ "𡃁": 21247,
122
+ "𢃇": 21248,
123
+ "𥄫": 21249,
124
+ "𨋢": 21250,
125
+ "𨳒": 21251,
126
+ "𪘲": 21252
127
+ }
all_results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"perplexity": 17.17167121312945}
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jed351/gpt2-base-zh-hk",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 101,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 102,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 768,
17
+ "n_head": 12,
18
+ "n_inner": null,
19
+ "n_layer": 12,
20
+ "n_positions": 1024,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "task_specific_params": {
31
+ "text-generation": {
32
+ "do_sample": true,
33
+ "max_length": 50
34
+ }
35
+ },
36
+ "tokenizer_class": "BertTokenizerFast",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.27.0.dev0",
39
+ "use_cache": true,
40
+ "vocab_size": 21253
41
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 101,
4
+ "eos_token_id": 102,
5
+ "transformers_version": "4.27.0.dev0"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4308a26bf24871f1b138d685b3456c1664d43474bd06af84843f47e347067b68
3
+ size 421297725
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
+ }
step_120000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67eb39810f42da895539bdc0cab2e23e78277d20825f3a07371d1546be3ad743
3
+ size 817441221
step_120000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ad1cec72024cd8b4c2af44f730f33811d544f83f067e874056c0a67def4a95
3
+ size 421305597
step_120000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7bab8416975f3cb0b76c453c1242625c87bc19aee1c0bd48fbcff4721745ece
3
+ size 14663
step_120000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a2280055ca39ecbec3085c555d26f2694deb7920ef99a5115b1a754ad3813c7
3
+ size 557
step_120000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b891ddf5feb507411ece048bd5fdfa55fe799c570e875adaa81a86f73a2ab64
3
+ size 627
step_160000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d460288030ae7a178ef9a16ee9afdfb73852a93356002ff2fd43552d6ea193e8
3
+ size 817441221
step_160000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c2efa28b30a6d26e45caed3db8bc6c9386e883785133d393574df45fdf1f9fd
3
+ size 421305597
step_160000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d80aae563cee413c608a8978762246490a36e2d063078dff2e2a7b6d3e38d2c
3
+ size 14663
step_160000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33a87c7b4597d7cebfb5ba1fce32069c78fa3cb6834edb0a76cbad8bc0f4a2c5
3
+ size 557
step_160000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dd18f958a7bf3c2b60caf1c11db98a562cad1201cc8259fcd7967a6dfd2b69b
3
+ size 627
step_40000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e65e3d7a75b97d32b9aedf57ea6a2787177a9effb1c6d2ac698d891f24e4442
3
+ size 817441221
step_40000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46f73292e78967599f28c1befc0401771050feedac31a3db651735fc6a2c855a
3
+ size 421305597
step_40000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:464f7196e4fadeaadddfac19155bae97e98e82c78e3f43423070c5ec534b64c6
3
+ size 14663
step_40000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d727cbc801c03de5270cbe2805bcaf8583ceae98557eda1be04c18cee037cb59
3
+ size 557
step_40000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d54b033eb185b5346e23e72e5baaa6b065b790a8e23a43c38aad7bc8fc868fed
3
+ size 627
step_80000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b8f552f97c606cd4f2e9fc4c5af56368980d48c7781eb6ffc3472cec624705b
3
+ size 817441221
step_80000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a8dfdc53a0bd0dec6707ce76c5c0848f094e807829406801fdd7438b81c6244
3
+ size 421305597
step_80000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e070b878a93ee37a9ccae397eb6486d041a2993a7baea87e92105fd7218ed97f
3
+ size 14663
step_80000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39426dd0223f46bdc9fe562e3e72f8362af74bb2ce3f21ddd52fc70b7e4ebc1e
3
+ size 557
step_80000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46030c164a473a323eb5b66b7ac60d487f73c04495998d060c2e8fc18a29724
3
+ size 627
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_lower_case": false,
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 512,
6
+ "name_or_path": "jed351/gpt2-base-zh-hk",
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "special_tokens_map_file": null,
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff