Exveria commited on
Commit
2343533
·
verified ·
1 Parent(s): 0cb6d1f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-128k", trust_remote_code=True)
65
- tokenizer = AutoTokenizer.from_pretrained("Local-Novel-LLM-project/Ninja-v1-128k")
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")