nicholasKluge
commited on
Commit
•
9a7f11a
1
Parent(s):
0432450
Update README.md
Browse files
README.md
CHANGED
@@ -79,7 +79,9 @@ aira.to(device)
|
|
79 |
|
80 |
question = input("Enter your question: ")
|
81 |
|
82 |
-
inputs = tokenizer(tokenizer.bos_token + question + tokenizer.sep_token,
|
|
|
|
|
83 |
|
84 |
responses = aira.generate(**inputs,
|
85 |
do_sample=True,
|
|
|
79 |
|
80 |
question = input("Enter your question: ")
|
81 |
|
82 |
+
inputs = tokenizer(tokenizer.bos_token + question + tokenizer.sep_token,
|
83 |
+
add_special_tokens=False,
|
84 |
+
return_tensors="pt").to(device)
|
85 |
|
86 |
responses = aira.generate(**inputs,
|
87 |
do_sample=True,
|