Downloads · 30 days
18
14% of all-time downloads
PiLabZJU/AlignSurvey-Qwen2.5-7B
AlignSurvey-Qwen2.5-7B is a machine learning model from PiLabZJU. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This repository contains the Stage-I LoRA adapter for Qwen/Qwen2.5-7B-Instruct. It was trained for one epoch on the AlignSurvey Social Foundation Corpus before any task-specific Stage-II fine-tuning.
Downloads · 30 days
18
14% of all-time downloads
All-time downloads
133
Public
Repo size
4.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors80.8 MB · 100%
From the Hugging Face model README
This repository contains the Stage-I LoRA adapter for
Qwen/Qwen2.5-7B-Instruct. It was trained for one epoch on the AlignSurvey
Social Foundation Corpus before any task-specific Stage-II fine-tuning.
The original training run loaded the base model from
<local-model-root>/Qwen2.5-7B-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.
Tokenizer: use the tokenizer from the same base-model revision.
LLaMA-Factory template: qwen.
q_proj, k_proj, v_proj, o_proj, gate_proj,
up_proj, and down_projfrom peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = "Qwen/Qwen2.5-7B-Instruct"
adapter_dir = "path/to/adapter"
model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto")
model = PeftModel.from_pretrained(model, adapter_dir)
tokenizer = AutoTokenizer.from_pretrained(base_model)
To create a merged model, call model.merge_and_unload() and then
save_pretrained(). Distribution and use remain subject to the base model,
dataset, and original survey-source licenses.