NickyNicky commited on
Commit
2601f99
1 Parent(s): db8d789

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -168,7 +168,10 @@ What is the meaning of life in the current time?<end_of_turn>
168
  <start_of_turn>model
169
  """
170
 
171
- inputs = tokenizer.encode(txt, return_tensors="pt").to("cuda")
 
 
 
172
  max_new_tokens=1000
173
  generation_config = GenerationConfig(
174
  max_new_tokens=max_new_tokens,
 
168
  <start_of_turn>model
169
  """
170
 
171
+
172
+ inputs = tokenizer.encode(txt,
173
+ return_tensors="pt",
174
+ add_special_tokens=False).to("cuda:0")
175
  max_new_tokens=1000
176
  generation_config = GenerationConfig(
177
  max_new_tokens=max_new_tokens,