Safetensors
llama
NeuronWorkshop2025 / config.json
jburtoft's picture
Upload folder using huggingface_hub
a48f394 verified
{
"_name_or_path": "/opt/ml/input/data/modeldir/",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 5632,
"max_position_embeddings": 2048,
"mlp_bias": false,
"model_type": "llama",
"neuron": {
"auto_cast_type": "bf16",
"batch_size": 1,
"checkpoint_id": null,
"checkpoint_revision": null,
"compiler_type": "neuronx-cc",
"compiler_version": "2.15.143.0+e39249ad",
"num_cores": 2,
"sequence_length": 512,
"task": "text-generation"
},
"num_attention_heads": 32,
"num_hidden_layers": 22,
"num_key_value_heads": 4,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.43.2",
"use_cache": true,
"vocab_size": 32000
}