fix model card network issue
This commit is contained in:
parent
bfb9433165
commit
211b2db5a8
|
@ -78,6 +78,7 @@ def get_modelcard_args(
|
|||
) -> Dict[str, Any]:
|
||||
return {
|
||||
"tasks": "text-generation",
|
||||
"license": "other",
|
||||
"finetuned_from": model_args.model_name_or_path,
|
||||
"dataset": [dataset.strip() for dataset in data_args.dataset.split(",")],
|
||||
"tags": ["llama-factory"] + (["lora"] if finetuning_args.finetuning_type == "lora" else [])
|
||||
|
|
Loading…
Reference in New Issue