mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-15 16:18:10 +08:00
remove useless code
Former-commit-id: 323df46dd6a8eaf1fd608380406dcbce80c097b2
This commit is contained in:
parent
97280c73b9
commit
389687a56d
@ -50,7 +50,6 @@ def register_model_group(
|
|||||||
elif isinstance(path, dict) and "ms" in path:
|
elif isinstance(path, dict) and "ms" in path:
|
||||||
# Use ModelScope modelhub
|
# Use ModelScope modelhub
|
||||||
SUPPORTED_MODELS[name] = path["ms"]
|
SUPPORTED_MODELS[name] = path["ms"]
|
||||||
print(f'Supported models add {name}/{SUPPORTED_MODELS[name]}')
|
|
||||||
if module is not None:
|
if module is not None:
|
||||||
DEFAULT_MODULE[prefix] = module
|
DEFAULT_MODULE[prefix] = module
|
||||||
if template is not None:
|
if template is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user