mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-17 20:30:36 +08:00
tiny fix
This commit is contained in:
@@ -145,7 +145,6 @@ def get_forbidden_modules(config: "PretrainedConfig", finetuning_args: "Finetuni
|
|||||||
|
|
||||||
elif model_type == "minicpmv":
|
elif model_type == "minicpmv":
|
||||||
if finetuning_args.freeze_vision_tower:
|
if finetuning_args.freeze_vision_tower:
|
||||||
print("******************", model_type)
|
|
||||||
forbidden_modules.add("vpm")
|
forbidden_modules.add("vpm")
|
||||||
forbidden_modules.add("apm")
|
forbidden_modules.add("apm")
|
||||||
forbidden_modules.add("resampler")
|
forbidden_modules.add("resampler")
|
||||||
|
|||||||
Reference in New Issue
Block a user