rooa commited on
Commit
f37be90
1 Parent(s): 45fb58f

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-1B")
60
- model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-1B")
61
 
62
 
63
  def format(prefix, suffix):
 
57
  ```python
58
  from transformers import AutoTokenizer, AutoModelForCausalLM
59
  tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen2-1B")
60
+ model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-1B", trust_remote_code=True, revision="main")
61
 
62
 
63
  def format(prefix, suffix):