Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Qwen3 8B think 跑不到这么高的分数,请问prompt和参数是什么 #1

Open
@yxzero

Description

我参考qwen3的论文,设置的参数,用vllm跑预测,参数设置如下:
llm = LLM(model=model_path,
tokenizer=model_path,
tensor_parallel_size=torch.cuda.device_count(),
max_model_len=32768,
dtype='bfloat16',
trust_remote_code=True,
seed=42,
gpu_memory_utilization=0.9)
sampling_params = SamplingParams( # qwen3 thinking
temperature=0.6,
top_p=0.95,
top_k=20,
max_tokens=32768,
# max_tokens=4096,
n=1,
stop=["<|im_end|>"])
prompt=messages = [
{"role": "user", "content": f"{question}\n{query_dic.get(lang)}"}
]
query_dic = {
"en": "Note: Please put the final answer in the $\boxed{}$.",
"zh": "注意:请将最终答案放在 $\boxed{}$ 中。",
"ar": "ملاحظة: يُرجى وضع الإجابة النهائية في $\boxed{}$.",
"bn": "বিঃদ্রঃ: অনুগ্রহ করে চূড়ান্ত উত্তরটি $\boxed{}$ এর মধ্যে রাখুন।",
"de": "Hinweis: Bitte setzen Sie die endgültige Antwort in $\boxed{}$.",
"es": "Nota: Por favor, coloque la respuesta final en el $\boxed{}$.",
"fr": "Remarque : Veuillez mettre la réponse finale dans le $\boxed{}$.",
"id": "Catatan: Silakan letakkan jawaban akhir di dalam $\boxed{}$.",
"it": "Nota: Per favore, metti la risposta finale nel $\boxed{}$.",
"ja": "注意:最終的な答えを $\boxed{}$ に入れてください。",
"ko": "참고: 최종 답안을 $\boxed{}$ 안에 넣어 주세요.",
"ms": "Nota: Sila letakkan jawapan akhir dalam $\boxed{}$.",
"pt": "Nota: Por favor, coloque a resposta final no $\boxed{}$.",
"ru": "Примечание: Пожалуйста, поместите окончательный ответ в $\boxed{}$.",
"sw": "Kumbuka: Tafadhali weka jibu la mwisho katika $\boxed{}$.",
"te": "గమనిక: దయచేసి తుది జవాబును $\boxed{}$ లో ఉంచండి.",
"th": "หมายเหตุ: กรุณาใส่คําตอบสุดท้ายใน $\boxed{}$.",
"vi": "Lưu ý: Vui lòng đặt câu trả lời cuối cùng trong $\boxed{}$.",
}

请问这个有问题吗?en带权重的acc才跑到44%,leaderboard上是49.3%;望解答

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /