Commit e33ae5ab authored by FarzanehNakhaee's avatar FarzanehNakhaee
Browse files

Update until in greedy_until

parent c08b2d9d
......@@ -372,6 +372,8 @@ class HFLM(LM):
raise ValueError(
f"Expected `gen_kwargs['until']` to be of type Union[str,list] but got {until}"
)
else:
until = None
else:
raise ValueError(
f"Expected `gen_kwargs` to be of type `dict` but got {gen_kwargs}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment