update training
This commit is contained in:
@@ -4,8 +4,8 @@ from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
|
||||
|
||||
# --- 1. Define your model paths ---
|
||||
base_model_path = "Qwen/Qwen2.5-VL-3B-Instruct" # The original student model
|
||||
adapter_path = "./result/" # The folder where your LoRA adapter was saved
|
||||
merged_model_path = "./qwen-3b-distilled-merged/" # Where to save the new, merged model
|
||||
adapter_path = "/home/azureuser/finetuned_models/qwen2.5_vl/lora/Qwen2.5-VL-3B_distill_all_nolabel" # The folder where your LoRA adapter was saved
|
||||
merged_model_path = "/home/azureuser/finetuned_models/qwen2.5_vl/Qwen2.5-VL-3B_distill_merged_all_nolabel" # Where to save the new, merged model
|
||||
|
||||
print("Loading base model...")
|
||||
# --- 2. Load the base model ---
|
||||
|
Reference in New Issue
Block a user