[LoRA] Support modules_to_save for sequence classification (#53555)
Signed-off-by: linitra24 <Joy25810@foxmail.com> Signed-off-by: linitra24 <renshuang.zhou@daocloud.io> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
@@ -270,6 +270,30 @@ def qwen3_woofing_lora_files():
|
||||
return hf_api().snapshot_download(repo_id="Jackmin108/Qwen3-0.6B-Woof-LoRA")
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def qwen3_guard_star_trek_lora_files():
|
||||
return hf_api().snapshot_download(
|
||||
repo_id="geoffmunn/Qwen3Guard-StarTrek-Classification-0.6B",
|
||||
allow_patterns=["adapter_config.json", "adapter_model.safetensors"],
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def qwen3_guard_new_zealand_lora_files():
|
||||
return hf_api().snapshot_download(
|
||||
repo_id="geoffmunn/Qwen3Guard-NewZealand-Classification-0.6B",
|
||||
allow_patterns=["adapter_config.json", "adapter_model.safetensors"],
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def skywork_qwen3_reward_lora_files():
|
||||
return hf_api().snapshot_download(
|
||||
repo_id="AmirMohseni/skywork-qwen3-0.6b-reward-lora",
|
||||
allow_patterns=["adapter_config.json", "adapter_model.safetensors"],
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def deepseekv2_lora_files():
|
||||
return hf_api().snapshot_download(repo_id="wuchen01/DeepSeek-V2-Lite-Chat-All-LoRA")
|
||||
|
||||
Reference in New Issue
Block a user