Update lm_finetuning.py
Browse files- lm_finetuning.py +2 -2
lm_finetuning.py
CHANGED
@@ -241,8 +241,8 @@ def main():
|
|
241 |
shutil.copy2(summary_file, opt.model_alias)
|
242 |
extra_desc = f"This model is fine-tuned on `{opt.split_train}` split and validated on `{opt.split_test}` split of tweet_topic."
|
243 |
readme = get_readme(
|
244 |
-
model_name=opt.model_alias,
|
245 |
-
metric=
|
246 |
language_model=opt.model,
|
247 |
extra_desc= extra_desc
|
248 |
)
|
|
|
241 |
shutil.copy2(summary_file, opt.model_alias)
|
242 |
extra_desc = f"This model is fine-tuned on `{opt.split_train}` split and validated on `{opt.split_test}` split of tweet_topic."
|
243 |
readme = get_readme(
|
244 |
+
model_name=f"{opt.hf_organization}/{opt.model_alias}",
|
245 |
+
metric=summary_file,
|
246 |
language_model=opt.model,
|
247 |
extra_desc= extra_desc
|
248 |
)
|