Commit
·
859fef0
1
Parent(s):
a005314
Update README.md
Browse files
README.md
CHANGED
@@ -211,7 +211,7 @@ model.eval()
|
|
211 |
HUMAN_ROLE_START_TAG = "<|role_start|>human<|role_end|>"
|
212 |
BOT_ROLE_START_TAG = "<|role_start|>bot<|role_end|>"
|
213 |
|
214 |
-
text = f"{HUMAN_ROLE_START_TAG}
|
215 |
inputs = tokenizer(text, return_tensors='pt', padding=True, add_special_tokens=False).to("cuda")
|
216 |
outputs = model.generate(
|
217 |
inputs=inputs["input_ids"],
|
|
|
211 |
HUMAN_ROLE_START_TAG = "<|role_start|>human<|role_end|>"
|
212 |
BOT_ROLE_START_TAG = "<|role_start|>bot<|role_end|>"
|
213 |
|
214 |
+
text = f"{HUMAN_ROLE_START_TAG}请用C++实现求解第n个斐波那契数{BOT_ROLE_START_TAG}"
|
215 |
inputs = tokenizer(text, return_tensors='pt', padding=True, add_special_tokens=False).to("cuda")
|
216 |
outputs = model.generate(
|
217 |
inputs=inputs["input_ids"],
|