lucas-w's picture
Upload LlamaForCausalLM
1b1b19f
raw
history blame
1.1 kB
{
"_name_or_path": "/content/drive/MyDrive/saved_weights/pytorch_model.bin",
"architectures": [
"LlamaForCausalLM"
],
"auto_mapping": null,
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
"bias": "none",
"bos_token_id": 1,
"eos_token_id": 2,
"fan_in_fan_out": false,
"hidden_act": "silu",
"hidden_size": 4096,
"inference_mode": true,
"init_lora_weights": true,
"initializer_range": 0.02,
"intermediate_size": 11008,
"layers_pattern": null,
"layers_to_transform": null,
"lora_alpha": 32,
"lora_dropout": 0.05,
"max_position_embeddings": 2048,
"model_type": "llama",
"modules_to_save": null,
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"pad_token_id": 0,
"peft_type": "LORA",
"pretraining_tp": 1,
"r": 8,
"revision": null,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"target_modules": [
"q_proj",
"v_proj"
],
"task_type": "CAUSAL_LM",
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 32000
}