MMaDA icon indicating copy to clipboard operation
MMaDA copied to clipboard

Details on evaluation in textual tasks

Open saga1214 opened this issue 1 year ago • 3 comments

Hi, thank you for the great work.

Could you please share the evaluation setup used for the textual evaluation tasks, such as GSM8K experiments? Specifically:

  1. Were the generation length, diffusion steps, and block size set to 1024, 512, and 64 respectively for these tasks?

  2. It seems the tokenizer's default chat template and the one used in generate.py are the same — did you use this template during generation for GSM8K?

  3. Did you use any special prompting format (e.g., including phrases like "You are a math expert", or structural tags like , , or ) similar to the one used in D1, such as:

You are a math expert. You will be given a question to solve. Solve it step by step. Wrap the final answer in a \boxed{}.
Respond in the following format:
<reasoning>
Your reasoning here
</reasoning>
<answer>
\boxed{...}
</answer>
  1. How was the final answer extracted from the generated output?

I understand that the released Base and MixCoT checkpoints are not the final weights, but I’d like to reproduce the results on text-based tasks on these weights as possible (which is stated in Table 5 of main paper, + Mixed Long-CoT Finetuning 65.2). Any clarification would be greatly appreciated!

Thanks again.

saga1214 avatar Jul 02 '25 04:07 saga1214

Hi, thanks for your attention. We will release the evaluation code for MMaDA soon, along with detailed configuration settings.

  1. These settings vary across tasks; you can refer to LLaDA's settings. For instance, we use 512-512-64 for GSM8K.
  2. Yes, you can refer to generate.py
  3. We use simple system prompt in app.py
  4. We use huggingface's math_verify for result extraction.

tyfeld avatar Jul 09 '25 15:07 tyfeld

@saga1214 Have you reproduce the result on GSM8K dataset? I cannot reproduce the result and could you please show me your prompting method?

zrporz avatar Jul 16 '25 12:07 zrporz

@saga1214 @zrporz Regarding the evaluation, since our model handles a wide range of tasks with varying configurations, and considering the current intense workload, I plan to release a unified reproducible evaluation code after this busy period. It will include the full benchmark processing logic and is scheduled to be released before August 15.

tyfeld avatar Jul 17 '25 03:07 tyfeld