Update README.md
Browse files
README.md
CHANGED
@@ -61,8 +61,8 @@ We would like to take this opportunity to thank
|
|
61 |
```python
|
62 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
63 |
|
64 |
-
model = AutoModelForCausalLM.from_pretrained("Local-Novel-LLM-project/Ninja-v1
|
65 |
-
tokenizer = AutoTokenizer.from_pretrained("Local-Novel-LLM-project/Ninja-v1
|
66 |
|
67 |
prompt = "Once upon a time,"
|
68 |
input_ids = tokenizer.encode(prompt, return_tensors="pt")
|
|
|
61 |
```python
|
62 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
63 |
|
64 |
+
model = AutoModelForCausalLM.from_pretrained("Local-Novel-LLM-project/Ninja-v1")
|
65 |
+
tokenizer = AutoTokenizer.from_pretrained("Local-Novel-LLM-project/Ninja-v1")
|
66 |
|
67 |
prompt = "Once upon a time,"
|
68 |
input_ids = tokenizer.encode(prompt, return_tensors="pt")
|