"vscode:/vscode.git/clone" did not exist on "215e0681e4c3f6ade6e219d022a5e640b42fcb76"
Unverified Commit e547458c authored by amyeroberts's avatar amyeroberts Committed by GitHub
Browse files

Fix phi model doc checkpoint (#28581)


Co-authored-by: default avatarPashmina Cameron <11311835+pashminacameron@users.noreply.github.com>
parent 590be773
......@@ -84,8 +84,8 @@ Phi-2 has been integrated in the development version (4.37.0.dev) of `transforme
```python
>>> from transformers import AutoModelForCausalLM, AutoTokenizer
>>> model = AutoModelForCausalLM.from_pretrained("phi-2")
>>> tokenizer = AutoTokenizer.from_pretrained("phi-2")
>>> model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
>>> tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-2")
>>> inputs = tokenizer('Can you help me write a formal email to a potential business partner proposing a joint venture?', return_tensors="pt", return_attention_mask=False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment