Skip to content

Commit 9dcb5e1

Browse files
authored
Merge pull request #71 from bigcode-project/loubnabnl-patch-1
add trust_remote_code to tokenizer loading
2 parents c3b9717 + b28574b commit 9dcb5e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def main():
183183
tokenizer = AutoTokenizer.from_pretrained(
184184
args.model,
185185
revision=args.revision,
186+
trust_remote_code=args.trust_remote_code,
186187
use_auth_token=args.use_auth_token,
187188
truncation_side="left",
188189
)

0 commit comments

Comments
 (0)