Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekkrthakur committed Jun 17, 2024
1 parent 9dafb78 commit 3813e3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/autotrain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
warnings.filterwarnings("ignore", category=UserWarning, module="huggingface_hub")

logger = Logger().get_logger()
__version__ = "0.7.122"
__version__ = "0.7.123"


def is_colab():
Expand Down
2 changes: 1 addition & 1 deletion src/autotrain/app/colab.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def start_training(b):
params_val = json.loads(parameters.value)
if task_dropdown.value.startswith("llm") or task_dropdown.value.startswith("sentence-transformers"):
params_val["trainer"] = task_dropdown.value.split(":")[1]
params_val = {k: v for k, v in params_val.items() if k != "trainer"}
# params_val = {k: v for k, v in params_val.items() if k != "trainer"}

chat_template = params_val.get("chat_template")
if chat_template is not None:
Expand Down

0 comments on commit 3813e3c

Please sign in to comment.