Enabling CLI_ARGS=--trust-remote-code
I am trying to run some of the SOTA models and the error logs tell me that I need to enable this CLI flag. How can I do that?
1 Reply
What template are you using? It may be easiest to add an environment variable called
TRUST_REMOTE_CODE
with a value of True
and try your request again.
I'm not entirely sure that works, the transformers repo is kind of a mess and implements the check for this in two different places lol