When inject adapter in model(config, model, state dict=sd) is called and either (a) the state dict keys…
When inject adapter in model(config, model, state dict=sd) is called and either (a) the state dict keys…: a task in HF ML Tasksmith (Harbor dataset). Concretely: - A state dict key such as " orig mod.linear.lora A.default.weight" must be recognized as targeting the module "linear" . - A module…
The task
Concretely: - A state dict key such as `"_orig_mod.linear.lora_A.default.weight"` must be recognized as targeting the module `"linear"`. - A module name reported by `named_modules()` as `"_orig_mod.linear"` must be matched against the `"linear"` entry derived from the state dict. - When the input is an adapter…
Part of FineEnvs/HF_ML_Tasksmith.