Cytrex commited on
Commit
3ca3a2e
·
verified ·
1 Parent(s): 97e6c31

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +85 -0
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Spark2_5ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_spark.Spark2_5Config",
9
+ "AutoModel": "modeling_spark.Spark2_5Model",
10
+ "AutoModelForCausalLM": "modeling_spark.Spark2_5ForCausalLM"
11
+ },
12
+ "bos_token_id": 0,
13
+ "dtype": "bfloat16",
14
+ "eos_token_id": 1,
15
+ "gate_attn_act_mode": "sigmoid",
16
+ "head_dim": 256,
17
+ "headwise_attn_output_gate": true,
18
+ "hidden_act": "gelu",
19
+ "hidden_size": 2560,
20
+ "initializer_range": 0.01976,
21
+ "intermediate_size": 10240,
22
+ "layer_types": [
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "sliding_attention",
26
+ "full_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "full_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "full_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "full_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "full_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "full_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "full_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "full_attention"
59
+ ],
60
+ "max_position_embeddings": 1048576,
61
+ "mlp_bias": false,
62
+ "model_type": "spark2_5",
63
+ "num_attention_heads": 16,
64
+ "num_hidden_layers": 36,
65
+ "num_key_value_heads": 4,
66
+ "pad_token_id": 2,
67
+ "rms_norm_eps": 1e-06,
68
+ "rope_parameters": {
69
+ "full_attention": {
70
+ "partial_rotary_factor": 0.25,
71
+ "rope_theta": 5000000
72
+ },
73
+ "rope_theta": 10000.0,
74
+ "rope_type": "default",
75
+ "sliding_attention": {
76
+ "partial_rotary_factor": 1.0,
77
+ "rope_theta": 10000
78
+ }
79
+ },
80
+ "sliding_window": 512,
81
+ "tie_word_embeddings": true,
82
+ "transformers_version": "5.16.1",
83
+ "use_cache": true,
84
+ "vocab_size": 131072
85
+ }