Create config.json
Browse files- config.json +60 -0
config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"HelionForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "helion",
|
| 6 |
+
"torch_dtype": "bfloat16",
|
| 7 |
+
"transformers_version": "4.40.0",
|
| 8 |
+
"vocab_size": 32768,
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"intermediate_size": 14336,
|
| 11 |
+
"num_hidden_layers": 32,
|
| 12 |
+
"num_attention_heads": 32,
|
| 13 |
+
"num_key_value_heads": 8,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"max_position_embeddings": 8192,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"rms_norm_eps": 1e-6,
|
| 18 |
+
"use_cache": true,
|
| 19 |
+
"pad_token_id": null,
|
| 20 |
+
"bos_token_id": 1,
|
| 21 |
+
"eos_token_id": 2,
|
| 22 |
+
"tie_word_embeddings": false,
|
| 23 |
+
"rope_theta": 10000.0,
|
| 24 |
+
"rope_scaling": {
|
| 25 |
+
"type": "linear",
|
| 26 |
+
"factor": 1.0
|
| 27 |
+
},
|
| 28 |
+
"attention_bias": false,
|
| 29 |
+
"attention_dropout": 0.0,
|
| 30 |
+
"mlp_bias": false,
|
| 31 |
+
"residual_dropout": 0.0,
|
| 32 |
+
"embedding_dropout": 0.0,
|
| 33 |
+
"use_sliding_window": false,
|
| 34 |
+
"sliding_window": null,
|
| 35 |
+
"use_flash_attention_2": true,
|
| 36 |
+
"pretraining_tp": 1,
|
| 37 |
+
"quantization_config": null,
|
| 38 |
+
"use_memory_efficient_attention": true,
|
| 39 |
+
"gradient_checkpointing": false,
|
| 40 |
+
"layer_norm_type": "rms_norm",
|
| 41 |
+
"activation_function": "silu",
|
| 42 |
+
"rotary_embedding_base": 10000,
|
| 43 |
+
"rotary_pct": 1.0,
|
| 44 |
+
"tie_encoder_decoder": false,
|
| 45 |
+
"is_encoder_decoder": false,
|
| 46 |
+
"cross_attention_hidden_size": null,
|
| 47 |
+
"add_cross_attention": false,
|
| 48 |
+
"chunk_size_feed_forward": 0,
|
| 49 |
+
"output_attentions": false,
|
| 50 |
+
"output_hidden_states": false,
|
| 51 |
+
"use_return_dict": true,
|
| 52 |
+
"torchscript": false,
|
| 53 |
+
"use_bfloat16": true,
|
| 54 |
+
"pruned_heads": {},
|
| 55 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 56 |
+
"auto_map": {
|
| 57 |
+
"AutoConfig": "configuration_helion.HelionConfig",
|
| 58 |
+
"AutoModelForCausalLM": "modeling_helion.HelionForCausalLM"
|
| 59 |
+
}
|
| 60 |
+
}
|