Cohee commited on
Commit
99de0b4
1 Parent(s): ef15996

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "FredZhang7/anime-anything-promptgen-v2",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "GPT2LMHeadModel"
7
+ ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "pad_token_id": 50256,
28
+ "reorder_and_upcast_attn": false,
29
+ "resid_pdrop": 0.1,
30
+ "scale_attn_by_inverse_layer_idx": false,
31
+ "scale_attn_weights": true,
32
+ "summary_activation": null,
33
+ "summary_first_dropout": 0.1,
34
+ "summary_proj_to_labels": true,
35
+ "summary_type": "cls_index",
36
+ "summary_use_proj": true,
37
+ "task_specific_params": {
38
+ "text-generation": {
39
+ "do_sample": true,
40
+ "early_stopping": true,
41
+ "max_length": 76,
42
+ "repetition_penalty": 1.2,
43
+ "temperature": 0.9,
44
+ "top_k": 4
45
+ }
46
+ },
47
+ "transformers_version": "4.33.2",
48
+ "use_cache": true,
49
+ "vocab_size": 50257
50
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 50256,
6
+ "transformers_version": "4.33.2"
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
quantize_config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "decoder_model": {
6
+ "op_types": [
7
+ "Unsqueeze",
8
+ "Constant",
9
+ "Where",
10
+ "Range",
11
+ "Sub",
12
+ "Split",
13
+ "Squeeze",
14
+ "Gather",
15
+ "Sqrt",
16
+ "Softmax",
17
+ "Tanh",
18
+ "ConstantOfShape",
19
+ "Concat",
20
+ "Pow",
21
+ "MatMul",
22
+ "Add",
23
+ "Transpose",
24
+ "Div",
25
+ "Mul",
26
+ "Slice",
27
+ "Shape",
28
+ "Reshape",
29
+ "Gemm",
30
+ "Cast",
31
+ "ReduceMean"
32
+ ],
33
+ "weight_type": "QInt8"
34
+ },
35
+ "decoder_model_merged": {
36
+ "op_types": [
37
+ "Unsqueeze",
38
+ "Constant",
39
+ "Where",
40
+ "If",
41
+ "Range",
42
+ "Sub",
43
+ "Squeeze",
44
+ "Split",
45
+ "Gather",
46
+ "Sqrt",
47
+ "Softmax",
48
+ "Tanh",
49
+ "ConstantOfShape",
50
+ "Concat",
51
+ "Pow",
52
+ "MatMul",
53
+ "Add",
54
+ "Transpose",
55
+ "Div",
56
+ "Mul",
57
+ "Slice",
58
+ "Shape",
59
+ "Reshape",
60
+ "Gemm",
61
+ "Cast",
62
+ "ReduceMean"
63
+ ],
64
+ "weight_type": "QInt8"
65
+ },
66
+ "decoder_with_past_model": {
67
+ "op_types": [
68
+ "Unsqueeze",
69
+ "Constant",
70
+ "Where",
71
+ "Range",
72
+ "Sub",
73
+ "Split",
74
+ "Squeeze",
75
+ "Gather",
76
+ "Sqrt",
77
+ "Softmax",
78
+ "Tanh",
79
+ "ConstantOfShape",
80
+ "Concat",
81
+ "Pow",
82
+ "MatMul",
83
+ "Add",
84
+ "Transpose",
85
+ "Div",
86
+ "Mul",
87
+ "Slice",
88
+ "Shape",
89
+ "Reshape",
90
+ "Gemm",
91
+ "Cast",
92
+ "ReduceMean"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ }
96
+ }
97
+ }
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,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "tokenizer_class": "GPT2Tokenizer",
8
+ "unk_token": "<|endoftext|>"
9
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff