You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rlhf/model_list.py, "facebook/opt-350m" is missing in hf_models_causal_lm. Setting "model=facebook/opt-350m" in actor_config will cause "UnboundLocalError: local variable 'tokenizer' referenced before assignment" at rlhf/actor.py:176.
Or maybe simply add a warning for unsupported models when loading tokenizer at Line176 in chatllama/rlhf/actor.py.
The text was updated successfully, but these errors were encountered:
Hi @tengxiaoliu, thanks for reaching out and for the advice.
We did miss the 350m version when adding the strings to model_list.py.
We have added opt-350m and an error message for unsupported models. (in PR #306)
Thanks again for the feedback!
Hi, thanks for the great repo!
In rlhf/model_list.py, "facebook/opt-350m" is missing in hf_models_causal_lm. Setting "model=facebook/opt-350m" in actor_config will cause "UnboundLocalError: local variable 'tokenizer' referenced before assignment" at rlhf/actor.py:176.
Or maybe simply add a warning for unsupported models when loading tokenizer at Line176 in chatllama/rlhf/actor.py.
The text was updated successfully, but these errors were encountered: