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
Some recent models require Hugging Face's trust_remote_code to be set to true. This should be off by default, but we should allow users to set it if they wish. Reference: #356
In order to implement this, trust_remote_code will probably need to be set when we load the model here:
Some recent models require Hugging Face's trust_remote_code to be set to true. This should be off by default, but we should allow users to set it if they wish. Reference: #356
In order to implement this,
trust_remote_code
will probably need to be set when we load the model here:prompt2model/prompt2model/model_trainer/generate.py
Lines 64 to 77 in 72d97cc
This should be set as an argument to
GenerationModelTrainer
with a default offalse
:prompt2model/prompt2model/model_trainer/generate.py
Line 28 in 72d97cc
The text was updated successfully, but these errors were encountered: