Commit
·
5b3301f
1
Parent(s):
fe120f7
Update README.md
Browse files
README.md
CHANGED
@@ -5,8 +5,8 @@ license: mit
|
|
5 |
```python
|
6 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
7 |
|
8 |
-
model = AutoModelForCausalLM.from_pretrained("npvinHnivqn/phi-1_5-
|
9 |
-
tokenizer = AutoTokenizer.from_pretrained("npvinHnivqn/phi-1_5-
|
10 |
|
11 |
inputs = tokenizer('''<|USER|> Write a paragragh about animal''', return_tensors="pt", return_attention_mask=False)
|
12 |
|
|
|
5 |
```python
|
6 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
7 |
|
8 |
+
model = AutoModelForCausalLM.from_pretrained("npvinHnivqn/phi-1_5-NRL", trust_remote_code=True)
|
9 |
+
tokenizer = AutoTokenizer.from_pretrained("npvinHnivqn/phi-1_5-NRL", trust_remote_code=True)
|
10 |
|
11 |
inputs = tokenizer('''<|USER|> Write a paragragh about animal''', return_tensors="pt", return_attention_mask=False)
|
12 |
|