This commit is contained in:
GeeeekExplorer
2025-06-13 00:41:33 +08:00
parent 98a1551a7d
commit 135d1b38a2
5 changed files with 65 additions and 8 deletions

View File

@@ -9,8 +9,8 @@ llm = LLM(path, enforce_eager=True)
sampling_params = SamplingParams(temperature=0.6, max_tokens=256)
prompts = [
"自我介绍一下吧!",
"列出100内所有素数",
"introduce yourself",
"list all prime numbers within 100",
]
prompts = [
tokenizer.apply_chat_template(