This commit is contained in:
fzc8578
2025-01-10 20:15:39 +08:00
parent fc045d7dd8
commit 84026be06e

View File

@@ -145,7 +145,6 @@ def get_forbidden_modules(config: "PretrainedConfig", finetuning_args: "Finetuni
elif model_type == "minicpmv":
if finetuning_args.freeze_vision_tower:
print("******************", model_type)
forbidden_modules.add("vpm")
forbidden_modules.add("apm")
forbidden_modules.add("resampler")