Enkhai commited on
Commit
58d858e
1 Parent(s): 1818e6a

add config

Browse files
Files changed (1) hide show
  1. config.json +16 -2
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "activation_function": "gelu_new",
3
- "add_apapters": true,
4
  "architectures": [
5
  "GPTJLoraForCausalLM"
6
  ],
@@ -12,6 +12,7 @@
12
  "bos_token_id": 50256,
13
  "embd_pdrop": 0.0,
14
  "eos_token_id": 50256,
 
15
  "initializer_range": 0.02,
16
  "layer_norm_epsilon": 1e-05,
17
  "model_type": "gptj-lora",
@@ -21,10 +22,23 @@
21
  "n_layer": 28,
22
  "n_positions": 2048,
23
  "resid_pdrop": 0.0,
 
24
  "rotary_dim": 64,
25
  "scale_attn_weights": true,
 
 
 
 
 
 
 
 
 
 
 
 
26
  "tie_word_embeddings": false,
27
- "torch_dtype": "float32",
28
  "transformers_version": "4.20.1",
29
  "use_cache": true,
30
  "vocab_size": 50400
 
1
  {
2
  "activation_function": "gelu_new",
3
+ "add_adapters": true,
4
  "architectures": [
5
  "GPTJLoraForCausalLM"
6
  ],
 
12
  "bos_token_id": 50256,
13
  "embd_pdrop": 0.0,
14
  "eos_token_id": 50256,
15
+ "gradient_checkpointing": false,
16
  "initializer_range": 0.02,
17
  "layer_norm_epsilon": 1e-05,
18
  "model_type": "gptj-lora",
 
22
  "n_layer": 28,
23
  "n_positions": 2048,
24
  "resid_pdrop": 0.0,
25
+ "rotary": true,
26
  "rotary_dim": 64,
27
  "scale_attn_weights": true,
28
+ "summary_activation": null,
29
+ "summary_first_dropout": 0.1,
30
+ "summary_proj_to_labels": true,
31
+ "summary_type": "cls_index",
32
+ "summary_use_proj": true,
33
+ "task_specific_params": {
34
+ "text-generation": {
35
+ "do_sample": true,
36
+ "max_length": 50,
37
+ "temperature": 1.0
38
+ }
39
+ },
40
  "tie_word_embeddings": false,
41
+ "tokenizer_class": "GPT2Tokenizer",
42
  "transformers_version": "4.20.1",
43
  "use_cache": true,
44
  "vocab_size": 50400