Upload 4 files
Browse files- config.json +39 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- tokenizer_config.json +92 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"model_type": "gpt2",
|
13 |
+
"n_ctx": 1024,
|
14 |
+
"n_embd": 512,
|
15 |
+
"n_head": 8,
|
16 |
+
"n_inner": 2304,
|
17 |
+
"n_layer": 6,
|
18 |
+
"n_positions": 1024,
|
19 |
+
"reorder_and_upcast_attn": false,
|
20 |
+
"resid_pdrop": 0.1,
|
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 |
+
"task_specific_params": {
|
29 |
+
"text-generation": {
|
30 |
+
"do_sample": true,
|
31 |
+
"max_length": 50
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"tokenizer_class": "CharacterTokenizer",
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.47.1",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 94
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.47.1"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9aeff406f1645fc33d260b30520aea5ce084e92bdb7f9dac15c4a3cd3ad6dc5
|
3 |
+
size 84256136
|
tokenizer_config.json
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"char_ords": [
|
3 |
+
12353,
|
4 |
+
12354,
|
5 |
+
12355,
|
6 |
+
12356,
|
7 |
+
12357,
|
8 |
+
12358,
|
9 |
+
12359,
|
10 |
+
12360,
|
11 |
+
12361,
|
12 |
+
12362,
|
13 |
+
12363,
|
14 |
+
12364,
|
15 |
+
12365,
|
16 |
+
12366,
|
17 |
+
12367,
|
18 |
+
12368,
|
19 |
+
12369,
|
20 |
+
12370,
|
21 |
+
12371,
|
22 |
+
12372,
|
23 |
+
12373,
|
24 |
+
12374,
|
25 |
+
12375,
|
26 |
+
12376,
|
27 |
+
12377,
|
28 |
+
12378,
|
29 |
+
12379,
|
30 |
+
12380,
|
31 |
+
12381,
|
32 |
+
12382,
|
33 |
+
12383,
|
34 |
+
12384,
|
35 |
+
12385,
|
36 |
+
12386,
|
37 |
+
12387,
|
38 |
+
12388,
|
39 |
+
12389,
|
40 |
+
12390,
|
41 |
+
12391,
|
42 |
+
12392,
|
43 |
+
12393,
|
44 |
+
12394,
|
45 |
+
12395,
|
46 |
+
12396,
|
47 |
+
12397,
|
48 |
+
12398,
|
49 |
+
12399,
|
50 |
+
12400,
|
51 |
+
12401,
|
52 |
+
12402,
|
53 |
+
12403,
|
54 |
+
12404,
|
55 |
+
12405,
|
56 |
+
12406,
|
57 |
+
12407,
|
58 |
+
12408,
|
59 |
+
12409,
|
60 |
+
12410,
|
61 |
+
12411,
|
62 |
+
12412,
|
63 |
+
12413,
|
64 |
+
12414,
|
65 |
+
12415,
|
66 |
+
12416,
|
67 |
+
12417,
|
68 |
+
12418,
|
69 |
+
12419,
|
70 |
+
12420,
|
71 |
+
12421,
|
72 |
+
12422,
|
73 |
+
12423,
|
74 |
+
12424,
|
75 |
+
12425,
|
76 |
+
12426,
|
77 |
+
12427,
|
78 |
+
12428,
|
79 |
+
12429,
|
80 |
+
12431,
|
81 |
+
12434,
|
82 |
+
12435,
|
83 |
+
12430,
|
84 |
+
12432,
|
85 |
+
12433,
|
86 |
+
12437,
|
87 |
+
12438,
|
88 |
+
12436,
|
89 |
+
12540
|
90 |
+
],
|
91 |
+
"model_max_length": 1024
|
92 |
+
}
|