Wanfq commited on
Commit
ffcee9d
1 Parent(s): 7e57d5a

Upload generation_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. generation_config.json +2 -35
generation_config.json CHANGED
@@ -1,40 +1,7 @@
1
  {
2
- "_name_or_path": "/apdcephfs/share_733425/timhuang/fanqiwan/PLMs/llemma-34b",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "attention_bias": false,
7
  "bos_token_id": 1,
8
  "eos_token_id": 2,
9
- "hidden_act": "silu",
10
- "hidden_size": 8192,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 22016,
13
- "max_position_embeddings": 4096,
14
- "model_type": "llama",
15
- "num_attention_heads": 64,
16
- "num_hidden_layers": 48,
17
- "num_key_value_heads": 8,
18
  "pad_token_id": 0,
19
- "pretraining_tp": 1,
20
- "quantization_config": {
21
- "bnb_4bit_compute_dtype": "bfloat16",
22
- "bnb_4bit_quant_type": "nf4",
23
- "bnb_4bit_use_double_quant": true,
24
- "llm_int8_enable_fp32_cpu_offload": false,
25
- "llm_int8_has_fp16_weight": false,
26
- "llm_int8_skip_modules": null,
27
- "llm_int8_threshold": 6.0,
28
- "load_in_4bit": true,
29
- "load_in_8bit": false,
30
- "quant_method": "bitsandbytes"
31
- },
32
- "rms_norm_eps": 1e-05,
33
- "rope_scaling": null,
34
- "rope_theta": 1000000,
35
- "tie_word_embeddings": false,
36
- "torch_dtype": "bfloat16",
37
- "transformers_version": "4.34.1",
38
- "use_cache": true,
39
- "vocab_size": 32000
40
  }
 
1
  {
2
+ "_from_model_config": true,
 
 
 
 
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
 
 
 
 
 
 
 
 
 
5
  "pad_token_id": 0,
6
+ "transformers_version": "4.34.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }