mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
fix model card network issue
Former-commit-id: 36155cd1893bea036f15c648c06b0047c02dfb4f
This commit is contained in:
parent
9f364d3880
commit
d2ff09a404
@ -78,6 +78,7 @@ def get_modelcard_args(
|
|||||||
) -> Dict[str, Any]:
|
) -> Dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"tasks": "text-generation",
|
"tasks": "text-generation",
|
||||||
|
"license": "other",
|
||||||
"finetuned_from": model_args.model_name_or_path,
|
"finetuned_from": model_args.model_name_or_path,
|
||||||
"dataset": [dataset.strip() for dataset in data_args.dataset.split(",")],
|
"dataset": [dataset.strip() for dataset in data_args.dataset.split(",")],
|
||||||
"tags": ["llama-factory"] + (["lora"] if finetuning_args.finetuning_type == "lora" else [])
|
"tags": ["llama-factory"] + (["lora"] if finetuning_args.finetuning_type == "lora" else [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user