RichardErkhov commited on
Commit
c5e7f61
1 Parent(s): abb9bae

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +66 -0
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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
+ "quantization_config": {
29
+ "_load_in_4bit": true,
30
+ "_load_in_8bit": false,
31
+ "bnb_4bit_compute_dtype": "float32",
32
+ "bnb_4bit_quant_storage": "uint8",
33
+ "bnb_4bit_quant_type": "fp4",
34
+ "bnb_4bit_use_double_quant": false,
35
+ "llm_int8_enable_fp32_cpu_offload": false,
36
+ "llm_int8_has_fp16_weight": false,
37
+ "llm_int8_skip_modules": null,
38
+ "llm_int8_threshold": 6.0,
39
+ "load_in_4bit": true,
40
+ "load_in_8bit": false,
41
+ "quant_method": "bitsandbytes"
42
+ },
43
+ "reorder_and_upcast_attn": false,
44
+ "resid_pdrop": 0.1,
45
+ "scale_attn_by_inverse_layer_idx": false,
46
+ "scale_attn_weights": true,
47
+ "summary_activation": null,
48
+ "summary_first_dropout": 0.1,
49
+ "summary_proj_to_labels": true,
50
+ "summary_type": "cls_index",
51
+ "summary_use_proj": true,
52
+ "task_specific_params": {
53
+ "text-generation": {
54
+ "do_sample": true,
55
+ "early_stopping": true,
56
+ "max_length": 76,
57
+ "repetition_penalty": 1.2,
58
+ "temperature": 0.9,
59
+ "top_k": 4
60
+ }
61
+ },
62
+ "torch_dtype": "float16",
63
+ "transformers_version": "4.39.3",
64
+ "use_cache": true,
65
+ "vocab_size": 50257
66
+ }