rooa commited on
Commit
c3d53eb
1 Parent(s): cf90c71

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