rooa commited on
Commit
e20ddd5
1 Parent(s): ed33709

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -57,7 +57,7 @@ The final snippet looks as follows:
57
  ```python
58
  from transformers import AutoTokenizer, AutoModelForCausalLM
59
  tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen2-16B")
60
- model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-16B")
61
 
62
 
63
  def format(prefix, suffix):
 
57
  ```python
58
  from transformers import AutoTokenizer, AutoModelForCausalLM
59
  tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen2-16B")
60
+ model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-16B", trust_remote_code=True, revision="main")
61
 
62
 
63
  def format(prefix, suffix):