Commit
·
4f8d39f
1
Parent(s):
d088d82
Upload model
Browse files- config.json +35 -0
- model-00001-of-00003.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00003-of-00003.safetensors +3 -0
- model.safetensors.index.json +71 -0
config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "hf-internal-testing/tiny-random-GPT2Model",
|
| 3 |
+
"activation_function": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"GPT2Model"
|
| 6 |
+
],
|
| 7 |
+
"attn_pdrop": 0.1,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"embd_pdrop": 0.1,
|
| 10 |
+
"eos_token_id": 0,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"layer_norm_epsilon": 1e-05,
|
| 14 |
+
"model_type": "gpt2",
|
| 15 |
+
"n_embd": 32,
|
| 16 |
+
"n_head": 4,
|
| 17 |
+
"n_inner": 37,
|
| 18 |
+
"n_layer": 5,
|
| 19 |
+
"n_positions": 512,
|
| 20 |
+
"pad_token_id": 1023,
|
| 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 |
+
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.36.0.dev0",
|
| 32 |
+
"type_vocab_size": 16,
|
| 33 |
+
"use_cache": true,
|
| 34 |
+
"vocab_size": 1024
|
| 35 |
+
}
|
model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b8be9038e017518157c113665b09f1e4e15fe0e07d9b8e39a300071c6e3f11
|
| 3 |
+
size 131192
|
model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88e8987451ee2cf7a17dee190516fbdce905a37f84c8a4850200327fa2904c2b
|
| 3 |
+
size 150404
|
model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d21159c7de8e2feae780536f040209133b55136aa892ee9ce991cb5a83ce46f
|
| 3 |
+
size 56256
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 332644
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"h.0.attn.c_attn.bias": "model-00002-of-00003.safetensors",
|
| 7 |
+
"h.0.attn.c_attn.weight": "model-00002-of-00003.safetensors",
|
| 8 |
+
"h.0.attn.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 9 |
+
"h.0.attn.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 10 |
+
"h.0.ln_1.bias": "model-00002-of-00003.safetensors",
|
| 11 |
+
"h.0.ln_1.weight": "model-00002-of-00003.safetensors",
|
| 12 |
+
"h.0.ln_2.bias": "model-00002-of-00003.safetensors",
|
| 13 |
+
"h.0.ln_2.weight": "model-00002-of-00003.safetensors",
|
| 14 |
+
"h.0.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
|
| 15 |
+
"h.0.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
|
| 16 |
+
"h.0.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 17 |
+
"h.0.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 18 |
+
"h.1.attn.c_attn.bias": "model-00002-of-00003.safetensors",
|
| 19 |
+
"h.1.attn.c_attn.weight": "model-00002-of-00003.safetensors",
|
| 20 |
+
"h.1.attn.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 21 |
+
"h.1.attn.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 22 |
+
"h.1.ln_1.bias": "model-00002-of-00003.safetensors",
|
| 23 |
+
"h.1.ln_1.weight": "model-00002-of-00003.safetensors",
|
| 24 |
+
"h.1.ln_2.bias": "model-00002-of-00003.safetensors",
|
| 25 |
+
"h.1.ln_2.weight": "model-00002-of-00003.safetensors",
|
| 26 |
+
"h.1.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
|
| 27 |
+
"h.1.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
|
| 28 |
+
"h.1.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 29 |
+
"h.1.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 30 |
+
"h.2.attn.c_attn.bias": "model-00002-of-00003.safetensors",
|
| 31 |
+
"h.2.attn.c_attn.weight": "model-00002-of-00003.safetensors",
|
| 32 |
+
"h.2.attn.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 33 |
+
"h.2.attn.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 34 |
+
"h.2.ln_1.bias": "model-00002-of-00003.safetensors",
|
| 35 |
+
"h.2.ln_1.weight": "model-00002-of-00003.safetensors",
|
| 36 |
+
"h.2.ln_2.bias": "model-00002-of-00003.safetensors",
|
| 37 |
+
"h.2.ln_2.weight": "model-00002-of-00003.safetensors",
|
| 38 |
+
"h.2.mlp.c_fc.bias": "model-00002-of-00003.safetensors",
|
| 39 |
+
"h.2.mlp.c_fc.weight": "model-00002-of-00003.safetensors",
|
| 40 |
+
"h.2.mlp.c_proj.bias": "model-00002-of-00003.safetensors",
|
| 41 |
+
"h.2.mlp.c_proj.weight": "model-00002-of-00003.safetensors",
|
| 42 |
+
"h.3.attn.c_attn.bias": "model-00003-of-00003.safetensors",
|
| 43 |
+
"h.3.attn.c_attn.weight": "model-00003-of-00003.safetensors",
|
| 44 |
+
"h.3.attn.c_proj.bias": "model-00003-of-00003.safetensors",
|
| 45 |
+
"h.3.attn.c_proj.weight": "model-00003-of-00003.safetensors",
|
| 46 |
+
"h.3.ln_1.bias": "model-00002-of-00003.safetensors",
|
| 47 |
+
"h.3.ln_1.weight": "model-00002-of-00003.safetensors",
|
| 48 |
+
"h.3.ln_2.bias": "model-00003-of-00003.safetensors",
|
| 49 |
+
"h.3.ln_2.weight": "model-00003-of-00003.safetensors",
|
| 50 |
+
"h.3.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
|
| 51 |
+
"h.3.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
|
| 52 |
+
"h.3.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
|
| 53 |
+
"h.3.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
|
| 54 |
+
"h.4.attn.c_attn.bias": "model-00003-of-00003.safetensors",
|
| 55 |
+
"h.4.attn.c_attn.weight": "model-00003-of-00003.safetensors",
|
| 56 |
+
"h.4.attn.c_proj.bias": "model-00003-of-00003.safetensors",
|
| 57 |
+
"h.4.attn.c_proj.weight": "model-00003-of-00003.safetensors",
|
| 58 |
+
"h.4.ln_1.bias": "model-00003-of-00003.safetensors",
|
| 59 |
+
"h.4.ln_1.weight": "model-00003-of-00003.safetensors",
|
| 60 |
+
"h.4.ln_2.bias": "model-00003-of-00003.safetensors",
|
| 61 |
+
"h.4.ln_2.weight": "model-00003-of-00003.safetensors",
|
| 62 |
+
"h.4.mlp.c_fc.bias": "model-00003-of-00003.safetensors",
|
| 63 |
+
"h.4.mlp.c_fc.weight": "model-00003-of-00003.safetensors",
|
| 64 |
+
"h.4.mlp.c_proj.bias": "model-00003-of-00003.safetensors",
|
| 65 |
+
"h.4.mlp.c_proj.weight": "model-00003-of-00003.safetensors",
|
| 66 |
+
"ln_f.bias": "model-00003-of-00003.safetensors",
|
| 67 |
+
"ln_f.weight": "model-00003-of-00003.safetensors",
|
| 68 |
+
"wpe.weight": "model-00002-of-00003.safetensors",
|
| 69 |
+
"wte.weight": "model-00001-of-00003.safetensors"
|
| 70 |
+
}
|
| 71 |
+
}
|