Views
No views yet
meta-llama/Llama-3.1-8B-Instruct. It was trained for one epoch on the
AlignSurvey Social Foundation Corpus before any task-specific Stage-II
fine-tuning.<local-model-root>/Meta-Llama-3.1-8B-Instruct. The exact Hugging Face commit
was not recorded in the training artifacts and must be confirmed from that
server-side base-model directory before release. Do not claim a commit until
it has been verified.llama3.q_proj, k_proj, v_proj, o_proj, gate_proj,
up_proj, and down_proj1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base_model = "meta-llama/Llama-3.1-8B-Instruct"
5adapter_dir = "path/to/adapter"
6
7model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto")
8model = PeftModel.from_pretrained(model, adapter_dir)
9tokenizer = AutoTokenizer.from_pretrained(base_model)model.merge_and_unload() and then
save_pretrained(). Distribution and use remain subject to the Meta Llama 3.1,
dataset, and original survey-source licenses.