Upload 4 files
Browse files- config.json +91 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 12,
|
| 19 |
+
"n_positions": 1024,
|
| 20 |
+
"output_attentions": true,
|
| 21 |
+
"pruned_heads": {
|
| 22 |
+
"3": [
|
| 23 |
+
0,
|
| 24 |
+
4
|
| 25 |
+
],
|
| 26 |
+
"4": [
|
| 27 |
+
10
|
| 28 |
+
],
|
| 29 |
+
"5": [
|
| 30 |
+
0,
|
| 31 |
+
1,
|
| 32 |
+
5,
|
| 33 |
+
9
|
| 34 |
+
],
|
| 35 |
+
"6": [
|
| 36 |
+
9,
|
| 37 |
+
10
|
| 38 |
+
],
|
| 39 |
+
"7": [
|
| 40 |
+
1,
|
| 41 |
+
2,
|
| 42 |
+
7,
|
| 43 |
+
10,
|
| 44 |
+
11
|
| 45 |
+
],
|
| 46 |
+
"8": [
|
| 47 |
+
1
|
| 48 |
+
],
|
| 49 |
+
"9": [
|
| 50 |
+
0,
|
| 51 |
+
1,
|
| 52 |
+
4,
|
| 53 |
+
6,
|
| 54 |
+
9,
|
| 55 |
+
11
|
| 56 |
+
],
|
| 57 |
+
"10": [
|
| 58 |
+
0,
|
| 59 |
+
1,
|
| 60 |
+
2,
|
| 61 |
+
6,
|
| 62 |
+
8,
|
| 63 |
+
10
|
| 64 |
+
],
|
| 65 |
+
"11": [
|
| 66 |
+
9,
|
| 67 |
+
2,
|
| 68 |
+
5,
|
| 69 |
+
6
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
"reorder_and_upcast_attn": false,
|
| 73 |
+
"resid_pdrop": 0.1,
|
| 74 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 75 |
+
"scale_attn_weights": true,
|
| 76 |
+
"summary_activation": null,
|
| 77 |
+
"summary_first_dropout": 0.1,
|
| 78 |
+
"summary_proj_to_labels": true,
|
| 79 |
+
"summary_type": "cls_index",
|
| 80 |
+
"summary_use_proj": true,
|
| 81 |
+
"task_specific_params": {
|
| 82 |
+
"text-generation": {
|
| 83 |
+
"do_sample": true,
|
| 84 |
+
"max_length": 50
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
"torch_dtype": "float32",
|
| 88 |
+
"transformers_version": "4.36.2",
|
| 89 |
+
"use_cache": true,
|
| 90 |
+
"vocab_size": 50257
|
| 91 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.36.2"
|
| 6 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:018ff2260ac6312936f74b9b400ad2deb1dab91dd25b1303aecc9062a1f1e593
|
| 3 |
+
size 473371008
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d10c74ce6ba1ae3924641cc7fcb3b747833b1e00f4184a1471334bb0f167db6c
|
| 3 |
+
size 4728
|