ClosedCharacter
commited on
Commit
•
8a49b05
1
Parent(s):
40d4764
Update README.md
Browse files
README.md
CHANGED
@@ -48,7 +48,7 @@ messages = [
|
|
48 |
]
|
49 |
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, return_tensors="pt")
|
50 |
output = model.generate(
|
51 |
-
inputs=input_ids,
|
52 |
temperature=0.3,
|
53 |
top_p=0.5,
|
54 |
no_repeat_ngram_size=6,
|
|
|
48 |
]
|
49 |
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, return_tensors="pt")
|
50 |
output = model.generate(
|
51 |
+
inputs=input_ids.to("cuda"),
|
52 |
temperature=0.3,
|
53 |
top_p=0.5,
|
54 |
no_repeat_ngram_size=6,
|