Trouter-Library commited on
Commit
d82b168
·
verified ·
1 Parent(s): d74816b

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +69 -0
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "HelionForCausalLM"
4
+ ],
5
+ "model_type": "helion",
6
+ "torch_dtype": "bfloat16",
7
+ "transformers_version": "4.35.0",
8
+
9
+ "_name_or_path": "DeepXR/Helion-V1.5-XL",
10
+ "auto_map": {
11
+ "AutoConfig": "configuration_helion.HelionConfig",
12
+ "AutoModelForCausalLM": "modeling_helion.HelionForCausalLM"
13
+ },
14
+
15
+ "vocab_size": 100000,
16
+ "hidden_size": 6144,
17
+ "intermediate_size": 24576,
18
+ "num_hidden_layers": 48,
19
+ "num_attention_heads": 32,
20
+ "num_key_value_heads": 8,
21
+
22
+ "max_position_embeddings": 16384,
23
+ "rope_theta": 10000.0,
24
+ "rope_scaling": {
25
+ "type": "linear",
26
+ "factor": 2.0
27
+ },
28
+
29
+ "hidden_act": "silu",
30
+ "initializer_range": 0.02,
31
+ "rms_norm_eps": 1e-06,
32
+
33
+ "use_cache": true,
34
+ "pad_token_id": 0,
35
+ "bos_token_id": 1,
36
+ "eos_token_id": 2,
37
+
38
+ "tie_word_embeddings": false,
39
+ "attention_bias": false,
40
+ "attention_dropout": 0.0,
41
+ "pretraining_tp": 1,
42
+
43
+ "use_flash_attention_2": true,
44
+ "use_sliding_window": false,
45
+ "sliding_window": null,
46
+
47
+ "quantization_config": {
48
+ "quant_method": "bitsandbytes",
49
+ "load_in_8bit": false,
50
+ "load_in_4bit": false,
51
+ "llm_int8_threshold": 6.0,
52
+ "llm_int8_has_fp16_weight": false,
53
+ "bnb_4bit_compute_dtype": "bfloat16",
54
+ "bnb_4bit_use_double_quant": true,
55
+ "bnb_4bit_quant_type": "nf4"
56
+ },
57
+
58
+ "generation_config": {
59
+ "max_length": 16384,
60
+ "max_new_tokens": 512,
61
+ "temperature": 0.7,
62
+ "top_p": 0.9,
63
+ "top_k": 50,
64
+ "repetition_penalty": 1.1,
65
+ "do_sample": true,
66
+ "num_beams": 1,
67
+ "early_stopping": false
68
+ }
69
+ }