mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
fixing bug
This commit is contained in:
@@ -609,7 +609,7 @@ class HFArgs:
|
||||
|
||||
def __post_init__(self):
|
||||
if self.task in NLG_TASKS:
|
||||
HFArgs.model_path = "t5-small"
|
||||
self.model_path = "t5-small"
|
||||
|
||||
@staticmethod
|
||||
def load_args_from_console():
|
||||
|
||||
@@ -1398,7 +1398,7 @@
|
||||
"\n",
|
||||
"automl_settings = {\n",
|
||||
" \"time_budget\": 500, # setting the time budget\n",
|
||||
" \"task\": \"summarization\", # setting the task as multiplechoice-classification\n",
|
||||
" \"task\": \"summarization\", # setting the task as summarization\n",
|
||||
" \"hf_args\": {\n",
|
||||
" \"output_dir\": \"data/output/\", # setting the output directory\n",
|
||||
" \"ckpt_per_epoch\": 1, # setting the number of checkoints per epoch\n",
|
||||
|
||||
Reference in New Issue
Block a user