MANSTAGE commited on
Commit
2911d0f
·
verified ·
1 Parent(s): 6360dbc

Simplify config.json

Browse files
Files changed (1) hide show
  1. config.json +1 -38
config.json CHANGED
@@ -2,47 +2,10 @@
2
  "architectures": [
3
  "LlamaForCausalLM"
4
  ],
5
- "auto_map": {
6
- "AutoConfig": "configuration_llama.LlamaConfig",
7
- "AutoModelForCausalLM": "modeling_llama.LlamaForCausalLM"
8
- },
9
- "bos_token_id": 1,
10
- "eos_token_id": 2,
11
- "hidden_act": "silu",
12
- "hidden_size": 4096,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 11008,
15
- "max_position_embeddings": 2048,
16
  "model_type": "llama",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 32,
19
- "num_key_value_heads": 32,
20
- "pretraining_tp": 1,
21
- "rms_norm_eps": 1e-06,
22
- "rope_scaling": null,
23
- "rope_theta": 10000.0,
24
- "tie_word_embeddings": false,
25
  "torch_dtype": "float16",
26
  "transformers_version": "4.44.0",
27
- "use_cache": true,
28
- "vocab_size": 128256,
29
  "task_specific_params": {
30
- "text-generation": {
31
- "do_sample": true,
32
- "max_length": 2048,
33
- "temperature": 0.7,
34
- "top_p": 0.9,
35
- "repetition_penalty": 1.1
36
- }
37
- },
38
- "generation_config": {
39
- "do_sample": true,
40
- "max_length": 2048,
41
- "temperature": 0.7,
42
- "top_p": 0.9,
43
- "repetition_penalty": 1.1,
44
- "pad_token_id": 0,
45
- "eos_token_id": 2,
46
- "bos_token_id": 1
47
  }
48
  }
 
2
  "architectures": [
3
  "LlamaForCausalLM"
4
  ],
 
 
 
 
 
 
 
 
 
 
 
5
  "model_type": "llama",
 
 
 
 
 
 
 
 
6
  "torch_dtype": "float16",
7
  "transformers_version": "4.44.0",
 
 
8
  "task_specific_params": {
9
+ "text-generation": {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }
11
  }