Hjgugugjhuhjggg commited on
Commit
e18ba21
1 Parent(s): 651ed8c

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - gpt2
4
+ library_name: transformers
5
+ tags:
6
+ - mergekit
7
+ - merge
8
+
9
+ ---
10
+ # merge
11
+
12
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
13
+
14
+ ## Merge Details
15
+ ### Merge Method
16
+
17
+ This model was merged using the passthrough merge method.
18
+
19
+ ### Models Merged
20
+
21
+ The following models were included in the merge:
22
+ * [gpt2](https://huggingface.co/gpt2)
23
+
24
+ ### Configuration
25
+
26
+ The following YAML configuration was used to produce this model:
27
+
28
+ ```yaml
29
+ slices:
30
+ - sources:
31
+ - layer_range: [0, 1]
32
+ model: gpt2
33
+ - sources:
34
+ - layer_range: [0, 1]
35
+ model: gpt2
36
+
37
+ - sources:
38
+ - layer_range: [0, 1]
39
+ model: gpt2
40
+ - sources:
41
+ - layer_range: [0, 1]
42
+ model: gpt2
43
+
44
+ - sources:
45
+ - layer_range: [0, 1]
46
+ model: gpt2
47
+ - sources:
48
+ - layer_range: [0, 1]
49
+ model: gpt2
50
+
51
+ - sources:
52
+ - layer_range: [0, 1]
53
+ model: gpt2
54
+ - sources:
55
+ - layer_range: [0, 1]
56
+ model: gpt2
57
+
58
+ - sources:
59
+ - layer_range: [0, 1]
60
+ model: gpt2
61
+ - sources:
62
+ - layer_range: [0, 1]
63
+ model: gpt2
64
+
65
+ - sources:
66
+ - layer_range: [0, 1]
67
+ model: gpt2
68
+ - sources:
69
+ - layer_range: [0, 1]
70
+ model: gpt2
71
+
72
+ - sources:
73
+ - layer_range: [0, 1]
74
+ model: gpt2
75
+ - sources:
76
+ - layer_range: [0, 1]
77
+ model: gpt2
78
+
79
+ - sources:
80
+ - layer_range: [0, 1]
81
+ model: gpt2
82
+ - sources:
83
+ - layer_range: [0, 1]
84
+ model: gpt2
85
+ merge_method: passthrough
86
+ dtype: bfloat16
87
+
88
+ ```
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 16,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.46.1",
37
+ "use_cache": true,
38
+ "vocab_size": 50257
39
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ slices:
2
+ - sources:
3
+ - layer_range: [0, 1]
4
+ model: gpt2
5
+ - sources:
6
+ - layer_range: [0, 1]
7
+ model: gpt2
8
+
9
+ - sources:
10
+ - layer_range: [0, 1]
11
+ model: gpt2
12
+ - sources:
13
+ - layer_range: [0, 1]
14
+ model: gpt2
15
+
16
+ - sources:
17
+ - layer_range: [0, 1]
18
+ model: gpt2
19
+ - sources:
20
+ - layer_range: [0, 1]
21
+ model: gpt2
22
+
23
+ - sources:
24
+ - layer_range: [0, 1]
25
+ model: gpt2
26
+ - sources:
27
+ - layer_range: [0, 1]
28
+ model: gpt2
29
+
30
+ - sources:
31
+ - layer_range: [0, 1]
32
+ model: gpt2
33
+ - sources:
34
+ - layer_range: [0, 1]
35
+ model: gpt2
36
+
37
+ - sources:
38
+ - layer_range: [0, 1]
39
+ model: gpt2
40
+ - sources:
41
+ - layer_range: [0, 1]
42
+ model: gpt2
43
+
44
+ - sources:
45
+ - layer_range: [0, 1]
46
+ model: gpt2
47
+ - sources:
48
+ - layer_range: [0, 1]
49
+ model: gpt2
50
+
51
+ - sources:
52
+ - layer_range: [0, 1]
53
+ model: gpt2
54
+ - sources:
55
+ - layer_range: [0, 1]
56
+ model: gpt2
57
+ merge_method: passthrough
58
+ dtype: bfloat16
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:700f5e277458a7ec5e65cb72db92ace61d8ec2fa920f1c3aae917eb24ff649ab
3
+ size 305600264
model.safetensors.index.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata": {"mergekit_version": "0.0.5.1", "total_size": 305582592}, "weight_map": {"h.15.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.14.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.13.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.12.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.11.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.10.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.9.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.8.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.7.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.6.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.5.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.4.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.3.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.2.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.1.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.0.attn.c_attn.bias": "model-00001-of-00001.safetensors", "h.15.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.14.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.13.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.12.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.11.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.10.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.9.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.8.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.7.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.6.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.5.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.4.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.3.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.2.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.1.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.0.attn.c_attn.weight": "model-00001-of-00001.safetensors", "h.15.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.14.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.13.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.12.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.11.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.10.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.9.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.8.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.7.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.6.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.5.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.4.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.3.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.2.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.1.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.0.attn.c_proj.bias": "model-00001-of-00001.safetensors", "h.15.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.14.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.13.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.12.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.11.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.10.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.9.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.8.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.7.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.6.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.5.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.4.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.3.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.2.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.1.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.0.attn.c_proj.weight": "model-00001-of-00001.safetensors", "h.15.ln_1.bias": "model-00001-of-00001.safetensors", "h.14.ln_1.bias": "model-00001-of-00001.safetensors", "h.13.ln_1.bias": "model-00001-of-00001.safetensors", "h.12.ln_1.bias": "model-00001-of-00001.safetensors", "h.11.ln_1.bias": "model-00001-of-00001.safetensors", "h.10.ln_1.bias": "model-00001-of-00001.safetensors", "h.9.ln_1.bias": "model-00001-of-00001.safetensors", "h.8.ln_1.bias": "model-00001-of-00001.safetensors", "h.7.ln_1.bias": "model-00001-of-00001.safetensors", "h.6.ln_1.bias": "model-00001-of-00001.safetensors", "h.5.ln_1.bias": "model-00001-of-00001.safetensors", "h.4.ln_1.bias": "model-00001-of-00001.safetensors", "h.3.ln_1.bias": "model-00001-of-00001.safetensors", "h.2.ln_1.bias": "model-00001-of-00001.safetensors", "h.1.ln_1.bias": "model-00001-of-00001.safetensors", "h.0.ln_1.bias": "model-00001-of-00001.safetensors", "h.15.ln_1.weight": "model-00001-of-00001.safetensors", "h.14.ln_1.weight": "model-00001-of-00001.safetensors", "h.13.ln_1.weight": "model-00001-of-00001.safetensors", "h.12.ln_1.weight": "model-00001-of-00001.safetensors", "h.11.ln_1.weight": "model-00001-of-00001.safetensors", "h.10.ln_1.weight": "model-00001-of-00001.safetensors", "h.9.ln_1.weight": "model-00001-of-00001.safetensors", "h.8.ln_1.weight": "model-00001-of-00001.safetensors", "h.7.ln_1.weight": "model-00001-of-00001.safetensors", "h.6.ln_1.weight": "model-00001-of-00001.safetensors", "h.5.ln_1.weight": "model-00001-of-00001.safetensors", "h.4.ln_1.weight": "model-00001-of-00001.safetensors", "h.3.ln_1.weight": "model-00001-of-00001.safetensors", "h.2.ln_1.weight": "model-00001-of-00001.safetensors", "h.1.ln_1.weight": "model-00001-of-00001.safetensors", "h.0.ln_1.weight": "model-00001-of-00001.safetensors", "h.15.ln_2.bias": "model-00001-of-00001.safetensors", "h.14.ln_2.bias": "model-00001-of-00001.safetensors", "h.13.ln_2.bias": "model-00001-of-00001.safetensors", "h.12.ln_2.bias": "model-00001-of-00001.safetensors", "h.11.ln_2.bias": "model-00001-of-00001.safetensors", "h.10.ln_2.bias": "model-00001-of-00001.safetensors", "h.9.ln_2.bias": "model-00001-of-00001.safetensors", "h.8.ln_2.bias": "model-00001-of-00001.safetensors", "h.7.ln_2.bias": "model-00001-of-00001.safetensors", "h.6.ln_2.bias": "model-00001-of-00001.safetensors", "h.5.ln_2.bias": "model-00001-of-00001.safetensors", "h.4.ln_2.bias": "model-00001-of-00001.safetensors", "h.3.ln_2.bias": "model-00001-of-00001.safetensors", "h.2.ln_2.bias": "model-00001-of-00001.safetensors", "h.1.ln_2.bias": "model-00001-of-00001.safetensors", "h.0.ln_2.bias": "model-00001-of-00001.safetensors", "h.15.ln_2.weight": "model-00001-of-00001.safetensors", "h.14.ln_2.weight": "model-00001-of-00001.safetensors", "h.13.ln_2.weight": "model-00001-of-00001.safetensors", "h.12.ln_2.weight": "model-00001-of-00001.safetensors", "h.11.ln_2.weight": "model-00001-of-00001.safetensors", "h.10.ln_2.weight": "model-00001-of-00001.safetensors", "h.9.ln_2.weight": "model-00001-of-00001.safetensors", "h.8.ln_2.weight": "model-00001-of-00001.safetensors", "h.7.ln_2.weight": "model-00001-of-00001.safetensors", "h.6.ln_2.weight": "model-00001-of-00001.safetensors", "h.5.ln_2.weight": "model-00001-of-00001.safetensors", "h.4.ln_2.weight": "model-00001-of-00001.safetensors", "h.3.ln_2.weight": "model-00001-of-00001.safetensors", "h.2.ln_2.weight": "model-00001-of-00001.safetensors", "h.1.ln_2.weight": "model-00001-of-00001.safetensors", "h.0.ln_2.weight": "model-00001-of-00001.safetensors", "h.15.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.14.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.13.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.12.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.11.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.10.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.9.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.8.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.7.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.6.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.5.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.4.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.3.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.2.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.1.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.0.mlp.c_fc.bias": "model-00001-of-00001.safetensors", "h.15.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.14.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.13.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.12.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.11.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.10.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.9.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.8.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.7.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.6.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.5.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.4.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.3.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.2.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.1.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.0.mlp.c_fc.weight": "model-00001-of-00001.safetensors", "h.15.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.14.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.13.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.12.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.11.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.10.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.9.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.8.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.7.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.6.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.5.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.4.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.3.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.2.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.1.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.0.mlp.c_proj.bias": "model-00001-of-00001.safetensors", "h.15.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.14.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.13.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.12.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.11.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.10.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.9.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.8.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.7.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.6.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.5.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.4.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.3.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.2.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.1.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "h.0.mlp.c_proj.weight": "model-00001-of-00001.safetensors", "ln_f.bias": "model-00001-of-00001.safetensors", "ln_f.weight": "model-00001-of-00001.safetensors", "wpe.weight": "model-00001-of-00001.safetensors", "wte.weight": "model-00001-of-00001.safetensors"}}
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "tokenizer_class": "GPT2Tokenizer",
18
+ "unk_token": "<|endoftext|>"
19
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff