File size: 2,344 Bytes
84a6acf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
{
"architectures": [
"Qwen2ForCausalLM"
],
"attention_dropout": 0.0,
"attention_partition_spec": [
[
"dp",
"fsdp"
],
"sp",
"tp",
null
],
"attn_mechanism": "vanilla",
"axis_dims": [
1,
-1,
1,
1
],
"axis_names": [
"dp",
"fsdp",
"tp",
"sp"
],
"backend": null,
"bias_partition_spec": [
[
"dp",
"fsdp"
],
null,
null,
null
],
"bits": null,
"block_b": 1,
"block_k": 128,
"block_k_dkv": 128,
"block_k_dq": 128,
"block_k_major": 128,
"block_k_major_dkv": 128,
"block_k_major_dq": 128,
"block_q": 128,
"block_q_dkv": 128,
"block_q_dq": 128,
"block_q_major_dkv": 128,
"bos_token_id": 151643,
"easy_method": "train",
"embd_pdrop": 0.0,
"eos_token_id": 151645,
"fcm_max_ratio": 0.0,
"fcm_min_ratio": 0.0,
"generation_attention_partition_spec": [
[
"dp",
"fsdp"
],
null,
"tp",
null
],
"generation_bias_partition_spec": [
[
"dp",
"fsdp"
],
null,
null,
null
],
"generation_query_partition_spec": [
[
"dp",
"fsdp"
],
"sp",
null,
null
],
"hidden_act": "silu",
"hidden_size": 5120,
"initializer_range": 0.02,
"intermediate_size": 13696,
"key_partition_spec": [
[
"dp",
"fsdp"
],
"sp",
"tp",
null
],
"max_position_embeddings": 32768,
"max_window_layers": 35,
"model_type": "qwen2",
"num_attention_heads": 40,
"num_hidden_layers": 40,
"num_key_value_heads": 40,
"number_rep_kv": 1,
"query_partition_spec": [
[
"dp",
"fsdp"
],
"sp",
"tp",
null
],
"resid_pdrop": 0.0,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000.0,
"scan_attention_layers": false,
"scan_layers": true,
"scan_mlp_chunk_size": 1024,
"scan_ring_attention": false,
"shard_attention_computation": true,
"sliding_window": 32768,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.41.0.dev0",
"use_cache": true,
"use_scan_mlp": false,
"use_sharded_kv_caching": true,
"use_sharding_constraint": false,
"use_sliding_window": false,
"value_partition_spec": [
[
"dp",
"fsdp"
],
"sp",
"tp",
null
],
"vocab_size": 152064
}
|