prompt update
Browse files
README.md
CHANGED
@@ -243,7 +243,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_path)
|
|
243 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
|
244 |
model.eval()
|
245 |
# change input text as desired
|
246 |
-
input_text = "Where is the
|
247 |
# tokenize the text
|
248 |
input_tokens = tokenizer(input_text, return_tensors="pt").to(device)
|
249 |
# generate output tokens
|
|
|
243 |
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
|
244 |
model.eval()
|
245 |
# change input text as desired
|
246 |
+
input_text = "Where is the Thomas J. Watson Research Center located?"
|
247 |
# tokenize the text
|
248 |
input_tokens = tokenizer(input_text, return_tensors="pt").to(device)
|
249 |
# generate output tokens
|