tatuRD commited on
Commit
8feb58a
1 Parent(s): aeafba3

initial commit

Browse files
README.md CHANGED
@@ -1,3 +1,69 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - ja
5
  ---
6
+
7
+ ## モデル概要
8
+ AWSのtrn1インスタンスを用いて開発した大喜利言語モデルです。
9
+ 事前学習後に大喜利データでFine-tuningしています。
10
+
11
+ * Architecture: GPT2
12
+ * Vocab size: 44880
13
+ * Model size: 6B params
14
+ * License: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
15
+ * Library: [aws-neuron-reference-for-megatron-lm](https://github.com/aws-neuron/aws-neuron-reference-for-megatron-lm)
16
+
17
+ ## 学習データ
18
+ 以下のコーパスを使用して、事前学習を行いました。その際のトークン数は477億トークンでした。
19
+ * [C4](https://huggingface.co/datasets/mc4)の日本語データ
20
+ * [CC-100](https://huggingface.co/datasets/cc100)の日本語データ
21
+ * [OSCAR](https://huggingface.co/datasets/oscar)の日本語データ
22
+ * [Wikipedia](https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8)の日本語ダンプデータ
23
+ * 自社データ
24
+
25
+ Fine-tuningは、693万件の大喜利データを用いて行いました。
26
+
27
+ ## 使用方法
28
+ ```python
29
+ import torch
30
+ from transformers import AutoModelForCausalLM, AutoTokenizer
31
+
32
+ model_name = "watashiha/watashiha-gpt-6b"
33
+ tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=False)
34
+ model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16)
35
+
36
+ if torch.cuda.is_available():
37
+ model = model.to("cuda")
38
+
39
+ text = "お題:ホラー映画の「○○○から逃げろ!」<SEP>回答:"
40
+ token_ids = tokenizer.encode(text, add_special_tokens=False, return_tensors="pt").to(model.device)
41
+
42
+ output_ids = model.generate(
43
+ token_ids,
44
+ do_sample=True,
45
+ max_new_tokens=32,
46
+ top_p=0.9,
47
+ top_k=50,
48
+ pad_token_id=tokenizer.pad_token_id,
49
+ eos_token_id=tokenizer.eos_token_id,
50
+ )
51
+ output = tokenizer.decode(output_ids.tolist()[0], skip_special_tokens=True)
52
+ print(output)
53
+ """お題:ホラー映画の「○○○から逃げろ!」<SEP>回答:怖いもの知らずの大学生"""
54
+ ```
55
+
56
+ ## 性能比較
57
+ 以下は各モデルを同様の条件でFine-tuningし、出力させたボケをケータイ大喜利レジェンドに4段階で評価してもらった結果です。
58
+
59
+ 圏外:お題を日本語として理解できていない
60
+ 1本:お題を理解はできているがボケとして成立していない(面白みがない)
61
+ 2本:ボケとして成立している(面白みがある)
62
+ 3本:面白い(一定以上の面白さがある)
63
+
64
+ | | 圏外 | 1本 | 2本 | 3本 |
65
+ |--------------|------|-----|-----|-----|
66
+ | watashiha-gpt-6b | 77 | 204 | 175 | 44 |
67
+ |[rinna/japanese-gpt-neox-3.6b](https://huggingface.co/rinna/japanese-gpt-neox-3.6b) | 88 | 194 | 185 | 30 |
68
+ | [stabilityai/japanese-stablelm-base-alpha-7b](https://huggingface.co/stabilityai/japanese-stablelm-base-alpha-7b) | 96 | 164 | 196 | 43 |
69
+ | [elyza/ELYZA-japanese-Llama-2-7b-fast](https://huggingface.co/elyza/ELYZA-japanese-Llama-2-7b-fast) | 75 | 197 | 198 | 25 |
added_tokens.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "<CLS>": 44876,
3
+ "<EOD>": 44878,
4
+ "<MASK>": 44879,
5
+ "<SEP>": 44877
6
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./watashiha-gpt-6b",
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 44879,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 44879,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_embd": 4096,
15
+ "n_head": 32,
16
+ "n_inner": 16384,
17
+ "n_layer": 28,
18
+ "n_positions": 2048,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.0,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "tokenizer_class": "T5Tokenizer",
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.35.2",
31
+ "use_cache": true,
32
+ "vocab_size": 44880
33
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 44879,
4
+ "eos_token_id": 44879,
5
+ "transformers_version": "4.35.2"
6
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:914ba157d8eeb920da55a9acad79fc49466b05413a223e4557e8a8ae3733b589
3
+ size 4949088944
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d76de14762178279d2f2d17d9f180a950d097139a250387a57cebd0bd3f0ca3
3
+ size 4967382264
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68380eaf2a6204f71e77085ae7ead33a405fe825f457526d5dac4ecd35c7e5d1
3
+ size 1745286544
model.safetensors.index.json ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 11661721600
4
+ },
5
+ "weight_map": {
6
+ "transformer.h.0.attn.c_attn.bias": "model-00001-of-00003.safetensors",
7
+ "transformer.h.0.attn.c_attn.weight": "model-00001-of-00003.safetensors",
8
+ "transformer.h.0.attn.c_proj.bias": "model-00001-of-00003.safetensors",
9
+ "transformer.h.0.attn.c_proj.weight": "model-00001-of-00003.safetensors",
10
+ "transformer.h.0.ln_1.bias": "model-00001-of-00003.safetensors",
11
+ "transformer.h.0.ln_1.weight": "model-00001-of-00003.safetensors",
12
+ "transformer.h.0.ln_2.bias": "model-00001-of-00003.safetensors",
13
+ "transformer.h.0.ln_2.weight": "model-00001-of-00003.safetensors",
14
+ "transformer.h.0.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
15
+ "transformer.h.0.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
16
+ "transformer.h.0.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
17
+ "transformer.h.0.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
18
+ "transformer.h.1.attn.c_attn.bias": "model-00001-of-00003.safetensors",
19
+ "transformer.h.1.attn.c_attn.weight": "model-00001-of-00003.safetensors",
20
+ "transformer.h.1.attn.c_proj.bias": "model-00001-of-00003.safetensors",
21
+ "transformer.h.1.attn.c_proj.weight": "model-00001-of-00003.safetensors",
22
+ "transformer.h.1.ln_1.bias": "model-00001-of-00003.safetensors",
23
+ "transformer.h.1.ln_1.weight": "model-00001-of-00003.safetensors",
24
+ "transformer.h.1.ln_2.bias": "model-00001-of-00003.safetensors",
25
+ "transformer.h.1.ln_2.weight": "model-00001-of-00003.safetensors",
26
+ "transformer.h.1.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
27
+ "transformer.h.1.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
28
+ "transformer.h.1.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
29
+ "transformer.h.1.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
30
+ "transformer.h.10.attn.c_attn.bias": "model-00001-of-00003.safetensors",
31
+ "transformer.h.10.attn.c_attn.weight": "model-00001-of-00003.safetensors",
32
+ "transformer.h.10.attn.c_proj.bias": "model-00001-of-00003.safetensors",
33
+ "transformer.h.10.attn.c_proj.weight": "model-00001-of-00003.safetensors",
34
+ "transformer.h.10.ln_1.bias": "model-00001-of-00003.safetensors",
35
+ "transformer.h.10.ln_1.weight": "model-00001-of-00003.safetensors",
36
+ "transformer.h.10.ln_2.bias": "model-00001-of-00003.safetensors",
37
+ "transformer.h.10.ln_2.weight": "model-00001-of-00003.safetensors",
38
+ "transformer.h.10.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
39
+ "transformer.h.10.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
40
+ "transformer.h.10.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
41
+ "transformer.h.10.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
42
+ "transformer.h.11.attn.c_attn.bias": "model-00001-of-00003.safetensors",
43
+ "transformer.h.11.attn.c_attn.weight": "model-00001-of-00003.safetensors",
44
+ "transformer.h.11.attn.c_proj.bias": "model-00001-of-00003.safetensors",
45
+ "transformer.h.11.attn.c_proj.weight": "model-00001-of-00003.safetensors",
46
+ "transformer.h.11.ln_1.bias": "model-00001-of-00003.safetensors",
47
+ "transformer.h.11.ln_1.weight": "model-00001-of-00003.safetensors",
48
+ "transformer.h.11.ln_2.bias": "model-00001-of-00003.safetensors",
49
+ "transformer.h.11.ln_2.weight": "model-00001-of-00003.safetensors",
50
+ "transformer.h.11.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
51
+ "transformer.h.11.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
52
+ "transformer.h.11.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
53
+ "transformer.h.11.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
54
+ "transformer.h.12.attn.c_attn.bias": "model-00002-of-00003.safetensors",
55
+ "transformer.h.12.attn.c_attn.weight": "model-00002-of-00003.safetensors",
56
+ "transformer.h.12.attn.c_proj.bias": "model-00002-of-00003.safetensors",
57
+ "transformer.h.12.attn.c_proj.weight": "model-00002-of-00003.safetensors",
58
+ "transformer.h.12.ln_1.bias": "model-00002-of-00003.safetensors",
59
+ "transformer.h.12.ln_1.weight": "model-00002-of-00003.safetensors",
60
+ "transformer.h.12.ln_2.bias": "model-00002-of-00003.safetensors",
61
+ "transformer.h.12.ln_2.weight": "model-00002-of-00003.safetensors",
62
+ "transformer.h.12.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
63
+ "transformer.h.12.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
64
+ "transformer.h.12.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
65
+ "transformer.h.12.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
66
+ "transformer.h.13.attn.c_attn.bias": "model-00002-of-00003.safetensors",
67
+ "transformer.h.13.attn.c_attn.weight": "model-00002-of-00003.safetensors",
68
+ "transformer.h.13.attn.c_proj.bias": "model-00002-of-00003.safetensors",
69
+ "transformer.h.13.attn.c_proj.weight": "model-00002-of-00003.safetensors",
70
+ "transformer.h.13.ln_1.bias": "model-00002-of-00003.safetensors",
71
+ "transformer.h.13.ln_1.weight": "model-00002-of-00003.safetensors",
72
+ "transformer.h.13.ln_2.bias": "model-00002-of-00003.safetensors",
73
+ "transformer.h.13.ln_2.weight": "model-00002-of-00003.safetensors",
74
+ "transformer.h.13.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
75
+ "transformer.h.13.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
76
+ "transformer.h.13.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
77
+ "transformer.h.13.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
78
+ "transformer.h.14.attn.c_attn.bias": "model-00002-of-00003.safetensors",
79
+ "transformer.h.14.attn.c_attn.weight": "model-00002-of-00003.safetensors",
80
+ "transformer.h.14.attn.c_proj.bias": "model-00002-of-00003.safetensors",
81
+ "transformer.h.14.attn.c_proj.weight": "model-00002-of-00003.safetensors",
82
+ "transformer.h.14.ln_1.bias": "model-00002-of-00003.safetensors",
83
+ "transformer.h.14.ln_1.weight": "model-00002-of-00003.safetensors",
84
+ "transformer.h.14.ln_2.bias": "model-00002-of-00003.safetensors",
85
+ "transformer.h.14.ln_2.weight": "model-00002-of-00003.safetensors",
86
+ "transformer.h.14.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
87
+ "transformer.h.14.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
88
+ "transformer.h.14.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
89
+ "transformer.h.14.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
90
+ "transformer.h.15.attn.c_attn.bias": "model-00002-of-00003.safetensors",
91
+ "transformer.h.15.attn.c_attn.weight": "model-00002-of-00003.safetensors",
92
+ "transformer.h.15.attn.c_proj.bias": "model-00002-of-00003.safetensors",
93
+ "transformer.h.15.attn.c_proj.weight": "model-00002-of-00003.safetensors",
94
+ "transformer.h.15.ln_1.bias": "model-00002-of-00003.safetensors",
95
+ "transformer.h.15.ln_1.weight": "model-00002-of-00003.safetensors",
96
+ "transformer.h.15.ln_2.bias": "model-00002-of-00003.safetensors",
97
+ "transformer.h.15.ln_2.weight": "model-00002-of-00003.safetensors",
98
+ "transformer.h.15.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
99
+ "transformer.h.15.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
100
+ "transformer.h.15.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
101
+ "transformer.h.15.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
102
+ "transformer.h.16.attn.c_attn.bias": "model-00002-of-00003.safetensors",
103
+ "transformer.h.16.attn.c_attn.weight": "model-00002-of-00003.safetensors",
104
+ "transformer.h.16.attn.c_proj.bias": "model-00002-of-00003.safetensors",
105
+ "transformer.h.16.attn.c_proj.weight": "model-00002-of-00003.safetensors",
106
+ "transformer.h.16.ln_1.bias": "model-00002-of-00003.safetensors",
107
+ "transformer.h.16.ln_1.weight": "model-00002-of-00003.safetensors",
108
+ "transformer.h.16.ln_2.bias": "model-00002-of-00003.safetensors",
109
+ "transformer.h.16.ln_2.weight": "model-00002-of-00003.safetensors",
110
+ "transformer.h.16.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
111
+ "transformer.h.16.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
112
+ "transformer.h.16.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
113
+ "transformer.h.16.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
114
+ "transformer.h.17.attn.c_attn.bias": "model-00002-of-00003.safetensors",
115
+ "transformer.h.17.attn.c_attn.weight": "model-00002-of-00003.safetensors",
116
+ "transformer.h.17.attn.c_proj.bias": "model-00002-of-00003.safetensors",
117
+ "transformer.h.17.attn.c_proj.weight": "model-00002-of-00003.safetensors",
118
+ "transformer.h.17.ln_1.bias": "model-00002-of-00003.safetensors",
119
+ "transformer.h.17.ln_1.weight": "model-00002-of-00003.safetensors",
120
+ "transformer.h.17.ln_2.bias": "model-00002-of-00003.safetensors",
121
+ "transformer.h.17.ln_2.weight": "model-00002-of-00003.safetensors",
122
+ "transformer.h.17.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
123
+ "transformer.h.17.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
124
+ "transformer.h.17.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
125
+ "transformer.h.17.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
126
+ "transformer.h.18.attn.c_attn.bias": "model-00002-of-00003.safetensors",
127
+ "transformer.h.18.attn.c_attn.weight": "model-00002-of-00003.safetensors",
128
+ "transformer.h.18.attn.c_proj.bias": "model-00002-of-00003.safetensors",
129
+ "transformer.h.18.attn.c_proj.weight": "model-00002-of-00003.safetensors",
130
+ "transformer.h.18.ln_1.bias": "model-00002-of-00003.safetensors",
131
+ "transformer.h.18.ln_1.weight": "model-00002-of-00003.safetensors",
132
+ "transformer.h.18.ln_2.bias": "model-00002-of-00003.safetensors",
133
+ "transformer.h.18.ln_2.weight": "model-00002-of-00003.safetensors",
134
+ "transformer.h.18.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
135
+ "transformer.h.18.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
136
+ "transformer.h.18.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
137
+ "transformer.h.18.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
138
+ "transformer.h.19.attn.c_attn.bias": "model-00002-of-00003.safetensors",
139
+ "transformer.h.19.attn.c_attn.weight": "model-00002-of-00003.safetensors",
140
+ "transformer.h.19.attn.c_proj.bias": "model-00002-of-00003.safetensors",
141
+ "transformer.h.19.attn.c_proj.weight": "model-00002-of-00003.safetensors",
142
+ "transformer.h.19.ln_1.bias": "model-00002-of-00003.safetensors",
143
+ "transformer.h.19.ln_1.weight": "model-00002-of-00003.safetensors",
144
+ "transformer.h.19.ln_2.bias": "model-00002-of-00003.safetensors",
145
+ "transformer.h.19.ln_2.weight": "model-00002-of-00003.safetensors",
146
+ "transformer.h.19.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
147
+ "transformer.h.19.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
148
+ "transformer.h.19.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
149
+ "transformer.h.19.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
150
+ "transformer.h.2.attn.c_attn.bias": "model-00001-of-00003.safetensors",
151
+ "transformer.h.2.attn.c_attn.weight": "model-00001-of-00003.safetensors",
152
+ "transformer.h.2.attn.c_proj.bias": "model-00001-of-00003.safetensors",
153
+ "transformer.h.2.attn.c_proj.weight": "model-00001-of-00003.safetensors",
154
+ "transformer.h.2.ln_1.bias": "model-00001-of-00003.safetensors",
155
+ "transformer.h.2.ln_1.weight": "model-00001-of-00003.safetensors",
156
+ "transformer.h.2.ln_2.bias": "model-00001-of-00003.safetensors",
157
+ "transformer.h.2.ln_2.weight": "model-00001-of-00003.safetensors",
158
+ "transformer.h.2.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
159
+ "transformer.h.2.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
160
+ "transformer.h.2.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
161
+ "transformer.h.2.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
162
+ "transformer.h.20.attn.c_attn.bias": "model-00002-of-00003.safetensors",
163
+ "transformer.h.20.attn.c_attn.weight": "model-00002-of-00003.safetensors",
164
+ "transformer.h.20.attn.c_proj.bias": "model-00002-of-00003.safetensors",
165
+ "transformer.h.20.attn.c_proj.weight": "model-00002-of-00003.safetensors",
166
+ "transformer.h.20.ln_1.bias": "model-00002-of-00003.safetensors",
167
+ "transformer.h.20.ln_1.weight": "model-00002-of-00003.safetensors",
168
+ "transformer.h.20.ln_2.bias": "model-00002-of-00003.safetensors",
169
+ "transformer.h.20.ln_2.weight": "model-00002-of-00003.safetensors",
170
+ "transformer.h.20.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
171
+ "transformer.h.20.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
172
+ "transformer.h.20.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
173
+ "transformer.h.20.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
174
+ "transformer.h.21.attn.c_attn.bias": "model-00002-of-00003.safetensors",
175
+ "transformer.h.21.attn.c_attn.weight": "model-00002-of-00003.safetensors",
176
+ "transformer.h.21.attn.c_proj.bias": "model-00002-of-00003.safetensors",
177
+ "transformer.h.21.attn.c_proj.weight": "model-00002-of-00003.safetensors",
178
+ "transformer.h.21.ln_1.bias": "model-00002-of-00003.safetensors",
179
+ "transformer.h.21.ln_1.weight": "model-00002-of-00003.safetensors",
180
+ "transformer.h.21.ln_2.bias": "model-00002-of-00003.safetensors",
181
+ "transformer.h.21.ln_2.weight": "model-00002-of-00003.safetensors",
182
+ "transformer.h.21.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
183
+ "transformer.h.21.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
184
+ "transformer.h.21.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
185
+ "transformer.h.21.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
186
+ "transformer.h.22.attn.c_attn.bias": "model-00002-of-00003.safetensors",
187
+ "transformer.h.22.attn.c_attn.weight": "model-00002-of-00003.safetensors",
188
+ "transformer.h.22.attn.c_proj.bias": "model-00002-of-00003.safetensors",
189
+ "transformer.h.22.attn.c_proj.weight": "model-00002-of-00003.safetensors",
190
+ "transformer.h.22.ln_1.bias": "model-00002-of-00003.safetensors",
191
+ "transformer.h.22.ln_1.weight": "model-00002-of-00003.safetensors",
192
+ "transformer.h.22.ln_2.bias": "model-00002-of-00003.safetensors",
193
+ "transformer.h.22.ln_2.weight": "model-00002-of-00003.safetensors",
194
+ "transformer.h.22.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
195
+ "transformer.h.22.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
196
+ "transformer.h.22.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
197
+ "transformer.h.22.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
198
+ "transformer.h.23.attn.c_attn.bias": "model-00002-of-00003.safetensors",
199
+ "transformer.h.23.attn.c_attn.weight": "model-00002-of-00003.safetensors",
200
+ "transformer.h.23.attn.c_proj.bias": "model-00002-of-00003.safetensors",
201
+ "transformer.h.23.attn.c_proj.weight": "model-00002-of-00003.safetensors",
202
+ "transformer.h.23.ln_1.bias": "model-00002-of-00003.safetensors",
203
+ "transformer.h.23.ln_1.weight": "model-00002-of-00003.safetensors",
204
+ "transformer.h.23.ln_2.bias": "model-00002-of-00003.safetensors",
205
+ "transformer.h.23.ln_2.weight": "model-00002-of-00003.safetensors",
206
+ "transformer.h.23.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
207
+ "transformer.h.23.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
208
+ "transformer.h.23.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
209
+ "transformer.h.23.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
210
+ "transformer.h.24.attn.c_attn.bias": "model-00003-of-00003.safetensors",
211
+ "transformer.h.24.attn.c_attn.weight": "model-00003-of-00003.safetensors",
212
+ "transformer.h.24.attn.c_proj.bias": "model-00003-of-00003.safetensors",
213
+ "transformer.h.24.attn.c_proj.weight": "model-00003-of-00003.safetensors",
214
+ "transformer.h.24.ln_1.bias": "model-00003-of-00003.safetensors",
215
+ "transformer.h.24.ln_1.weight": "model-00003-of-00003.safetensors",
216
+ "transformer.h.24.ln_2.bias": "model-00003-of-00003.safetensors",
217
+ "transformer.h.24.ln_2.weight": "model-00003-of-00003.safetensors",
218
+ "transformer.h.24.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
219
+ "transformer.h.24.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
220
+ "transformer.h.24.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
221
+ "transformer.h.24.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
222
+ "transformer.h.25.attn.c_attn.bias": "model-00003-of-00003.safetensors",
223
+ "transformer.h.25.attn.c_attn.weight": "model-00003-of-00003.safetensors",
224
+ "transformer.h.25.attn.c_proj.bias": "model-00003-of-00003.safetensors",
225
+ "transformer.h.25.attn.c_proj.weight": "model-00003-of-00003.safetensors",
226
+ "transformer.h.25.ln_1.bias": "model-00003-of-00003.safetensors",
227
+ "transformer.h.25.ln_1.weight": "model-00003-of-00003.safetensors",
228
+ "transformer.h.25.ln_2.bias": "model-00003-of-00003.safetensors",
229
+ "transformer.h.25.ln_2.weight": "model-00003-of-00003.safetensors",
230
+ "transformer.h.25.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
231
+ "transformer.h.25.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
232
+ "transformer.h.25.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
233
+ "transformer.h.25.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
234
+ "transformer.h.26.attn.c_attn.bias": "model-00003-of-00003.safetensors",
235
+ "transformer.h.26.attn.c_attn.weight": "model-00003-of-00003.safetensors",
236
+ "transformer.h.26.attn.c_proj.bias": "model-00003-of-00003.safetensors",
237
+ "transformer.h.26.attn.c_proj.weight": "model-00003-of-00003.safetensors",
238
+ "transformer.h.26.ln_1.bias": "model-00003-of-00003.safetensors",
239
+ "transformer.h.26.ln_1.weight": "model-00003-of-00003.safetensors",
240
+ "transformer.h.26.ln_2.bias": "model-00003-of-00003.safetensors",
241
+ "transformer.h.26.ln_2.weight": "model-00003-of-00003.safetensors",
242
+ "transformer.h.26.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
243
+ "transformer.h.26.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
244
+ "transformer.h.26.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
245
+ "transformer.h.26.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
246
+ "transformer.h.27.attn.c_attn.bias": "model-00003-of-00003.safetensors",
247
+ "transformer.h.27.attn.c_attn.weight": "model-00003-of-00003.safetensors",
248
+ "transformer.h.27.attn.c_proj.bias": "model-00003-of-00003.safetensors",
249
+ "transformer.h.27.attn.c_proj.weight": "model-00003-of-00003.safetensors",
250
+ "transformer.h.27.ln_1.bias": "model-00003-of-00003.safetensors",
251
+ "transformer.h.27.ln_1.weight": "model-00003-of-00003.safetensors",
252
+ "transformer.h.27.ln_2.bias": "model-00003-of-00003.safetensors",
253
+ "transformer.h.27.ln_2.weight": "model-00003-of-00003.safetensors",
254
+ "transformer.h.27.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
255
+ "transformer.h.27.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
256
+ "transformer.h.27.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
257
+ "transformer.h.27.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
258
+ "transformer.h.3.attn.c_attn.bias": "model-00001-of-00003.safetensors",
259
+ "transformer.h.3.attn.c_attn.weight": "model-00001-of-00003.safetensors",
260
+ "transformer.h.3.attn.c_proj.bias": "model-00001-of-00003.safetensors",
261
+ "transformer.h.3.attn.c_proj.weight": "model-00001-of-00003.safetensors",
262
+ "transformer.h.3.ln_1.bias": "model-00001-of-00003.safetensors",
263
+ "transformer.h.3.ln_1.weight": "model-00001-of-00003.safetensors",
264
+ "transformer.h.3.ln_2.bias": "model-00001-of-00003.safetensors",
265
+ "transformer.h.3.ln_2.weight": "model-00001-of-00003.safetensors",
266
+ "transformer.h.3.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
267
+ "transformer.h.3.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
268
+ "transformer.h.3.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
269
+ "transformer.h.3.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
270
+ "transformer.h.4.attn.c_attn.bias": "model-00001-of-00003.safetensors",
271
+ "transformer.h.4.attn.c_attn.weight": "model-00001-of-00003.safetensors",
272
+ "transformer.h.4.attn.c_proj.bias": "model-00001-of-00003.safetensors",
273
+ "transformer.h.4.attn.c_proj.weight": "model-00001-of-00003.safetensors",
274
+ "transformer.h.4.ln_1.bias": "model-00001-of-00003.safetensors",
275
+ "transformer.h.4.ln_1.weight": "model-00001-of-00003.safetensors",
276
+ "transformer.h.4.ln_2.bias": "model-00001-of-00003.safetensors",
277
+ "transformer.h.4.ln_2.weight": "model-00001-of-00003.safetensors",
278
+ "transformer.h.4.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
279
+ "transformer.h.4.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
280
+ "transformer.h.4.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
281
+ "transformer.h.4.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
282
+ "transformer.h.5.attn.c_attn.bias": "model-00001-of-00003.safetensors",
283
+ "transformer.h.5.attn.c_attn.weight": "model-00001-of-00003.safetensors",
284
+ "transformer.h.5.attn.c_proj.bias": "model-00001-of-00003.safetensors",
285
+ "transformer.h.5.attn.c_proj.weight": "model-00001-of-00003.safetensors",
286
+ "transformer.h.5.ln_1.bias": "model-00001-of-00003.safetensors",
287
+ "transformer.h.5.ln_1.weight": "model-00001-of-00003.safetensors",
288
+ "transformer.h.5.ln_2.bias": "model-00001-of-00003.safetensors",
289
+ "transformer.h.5.ln_2.weight": "model-00001-of-00003.safetensors",
290
+ "transformer.h.5.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
291
+ "transformer.h.5.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
292
+ "transformer.h.5.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
293
+ "transformer.h.5.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
294
+ "transformer.h.6.attn.c_attn.bias": "model-00001-of-00003.safetensors",
295
+ "transformer.h.6.attn.c_attn.weight": "model-00001-of-00003.safetensors",
296
+ "transformer.h.6.attn.c_proj.bias": "model-00001-of-00003.safetensors",
297
+ "transformer.h.6.attn.c_proj.weight": "model-00001-of-00003.safetensors",
298
+ "transformer.h.6.ln_1.bias": "model-00001-of-00003.safetensors",
299
+ "transformer.h.6.ln_1.weight": "model-00001-of-00003.safetensors",
300
+ "transformer.h.6.ln_2.bias": "model-00001-of-00003.safetensors",
301
+ "transformer.h.6.ln_2.weight": "model-00001-of-00003.safetensors",
302
+ "transformer.h.6.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
303
+ "transformer.h.6.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
304
+ "transformer.h.6.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
305
+ "transformer.h.6.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
306
+ "transformer.h.7.attn.c_attn.bias": "model-00001-of-00003.safetensors",
307
+ "transformer.h.7.attn.c_attn.weight": "model-00001-of-00003.safetensors",
308
+ "transformer.h.7.attn.c_proj.bias": "model-00001-of-00003.safetensors",
309
+ "transformer.h.7.attn.c_proj.weight": "model-00001-of-00003.safetensors",
310
+ "transformer.h.7.ln_1.bias": "model-00001-of-00003.safetensors",
311
+ "transformer.h.7.ln_1.weight": "model-00001-of-00003.safetensors",
312
+ "transformer.h.7.ln_2.bias": "model-00001-of-00003.safetensors",
313
+ "transformer.h.7.ln_2.weight": "model-00001-of-00003.safetensors",
314
+ "transformer.h.7.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
315
+ "transformer.h.7.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
316
+ "transformer.h.7.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
317
+ "transformer.h.7.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
318
+ "transformer.h.8.attn.c_attn.bias": "model-00001-of-00003.safetensors",
319
+ "transformer.h.8.attn.c_attn.weight": "model-00001-of-00003.safetensors",
320
+ "transformer.h.8.attn.c_proj.bias": "model-00001-of-00003.safetensors",
321
+ "transformer.h.8.attn.c_proj.weight": "model-00001-of-00003.safetensors",
322
+ "transformer.h.8.ln_1.bias": "model-00001-of-00003.safetensors",
323
+ "transformer.h.8.ln_1.weight": "model-00001-of-00003.safetensors",
324
+ "transformer.h.8.ln_2.bias": "model-00001-of-00003.safetensors",
325
+ "transformer.h.8.ln_2.weight": "model-00001-of-00003.safetensors",
326
+ "transformer.h.8.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
327
+ "transformer.h.8.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
328
+ "transformer.h.8.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
329
+ "transformer.h.8.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
330
+ "transformer.h.9.attn.c_attn.bias": "model-00001-of-00003.safetensors",
331
+ "transformer.h.9.attn.c_attn.weight": "model-00001-of-00003.safetensors",
332
+ "transformer.h.9.attn.c_proj.bias": "model-00001-of-00003.safetensors",
333
+ "transformer.h.9.attn.c_proj.weight": "model-00001-of-00003.safetensors",
334
+ "transformer.h.9.ln_1.bias": "model-00001-of-00003.safetensors",
335
+ "transformer.h.9.ln_1.weight": "model-00001-of-00003.safetensors",
336
+ "transformer.h.9.ln_2.bias": "model-00001-of-00003.safetensors",
337
+ "transformer.h.9.ln_2.weight": "model-00001-of-00003.safetensors",
338
+ "transformer.h.9.mlp.c_fc.bias": "model-00001-of-00003.safetensors",
339
+ "transformer.h.9.mlp.c_fc.weight": "model-00001-of-00003.safetensors",
340
+ "transformer.h.9.mlp.c_proj.bias": "model-00001-of-00003.safetensors",
341
+ "transformer.h.9.mlp.c_proj.weight": "model-00001-of-00003.safetensors",
342
+ "transformer.ln_f.bias": "model-00003-of-00003.safetensors",
343
+ "transformer.ln_f.weight": "model-00003-of-00003.safetensors",
344
+ "transformer.wpe.weight": "model-00001-of-00003.safetensors",
345
+ "transformer.wte.weight": "model-00001-of-00003.safetensors"
346
+ }
347
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<CLS>",
4
+ "<SEP>",
5
+ "<EOD>",
6
+ "<MASK>"
7
+ ],
8
+ "eos_token": "<EOD>",
9
+ "pad_token": "[PAD]",
10
+ "unk_token": "[UNK]"
11
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dbbd4ddbe43941051ed35fd44ff0d9d1c00ed345f7fd4d1969df174110f0609
3
+ size 1044749
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<CLS>",
4
+ "<SEP>",
5
+ "<EOD>",
6
+ "<MASK>"
7
+ ],
8
+ "eos_token": "<EOD>",
9
+ "extra_ids": 0,
10
+ "model_max_length": 1000000000000000019884624838656,
11
+ "pad_token": "[PAD]",
12
+ "sp_model_kwargs": {},
13
+ "tokenizer_class": "T5Tokenizer",
14
+ "unk_token": "[UNK]"
15
+ }