Yhhxhfh commited on
Commit
073d2f2
·
verified ·
1 Parent(s): f492ce1

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -4
config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
2
- "_name_or_path": "openai-community/gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2LMHeadModel"
6
  ],
7
  "attn_pdrop": 0.1,
8
  "bos_token_id": 50256,
@@ -10,7 +9,7 @@
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,
@@ -32,7 +31,7 @@
32
  "top_p": 0.9,
33
  "top_k": 50,
34
  "do_sample": true,
35
- "max_length": 50000000000000000000000000
36
  }
37
  },
38
  "torch_dtype": "float32",
 
1
  {
 
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
+ "LlamaForCausalLM"
5
  ],
6
  "attn_pdrop": 0.1,
7
  "bos_token_id": 50256,
 
9
  "eos_token_id": 50256,
10
  "initializer_range": 0.02,
11
  "layer_norm_epsilon": 1e-05,
12
+ "model_type": "llama",
13
  "n_ctx": 1024,
14
  "n_embd": 768,
15
  "n_head": 12,
 
31
  "top_p": 0.9,
32
  "top_k": 50,
33
  "do_sample": true,
34
+ "max_length": -1
35
  }
36
  },
37
  "torch_dtype": "float32",