travis0103
commited on
Commit
•
5594d5a
1
Parent(s):
4b10f63
Update README.md
Browse files
README.md
CHANGED
@@ -53,7 +53,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
53 |
|
54 |
messages = [
|
55 |
{"role": "user", "content": SYSTEM_PROMPT},
|
56 |
-
{"role": "
|
57 |
]
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
encoded_input = tokenizer.apply_chat_template(messages, return_tensors="pt").to(device)
|
|
|
53 |
|
54 |
messages = [
|
55 |
{"role": "user", "content": SYSTEM_PROMPT},
|
56 |
+
{"role": "user", "content": abstract_input}
|
57 |
]
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
encoded_input = tokenizer.apply_chat_template(messages, return_tensors="pt").to(device)
|