Evaluation for LLaDA and LLaDA1.5

November 24, 2025 · View on GitHub

This repository provides an unofficial evaluation implementation for LLaDA, based on the lm-evaluation-harness.

⚠️ Disclaimer: Since the official evaluation based on lm-eval are not yet available, the results presented below are based on independent testing conducted on my own equipment. They may not fully represent the model's official performance capabilities.

⚙️ Environment

  • Hardware: NVIDIA A100 GPU
  • Software:
    • torch == 2.5.1
    • transformers == 4.57.1

🚀 Quick Start

1. Sanity Check

First, run the test script to ensure the environment is set up correctly and the model can generate samples:

python chat.py

2. Run Evaluation

Execute the shell script to start the evaluation process For LLaDA-Instruct:

bash eval_LLaDA.sh

For LLaDA-1.5:

bash eval_LLaDA1p5.sh

⚠️ Post-processing & Logs

  • Log Samples: You must enable the log_samples option, as the final metrics rely heavily on Python post-processing of these logs.

  • Data Management: The post-processing script calculates the average accuracy based on ALL .jsonl files found in the current result directory

    • Recommendation: Before starting a new run, please delete old JSONL files or specify a new output directory to avoid mixing results from different experiments.

📊 Evaluation Results

ModelLenHumanEval:AccMBPP:AccGSM8K:AccMATH500:Acc
LLaDA-Instruct25638.736.977.433.8
51243.938.281.337.7
102444.637.482.339.4
LLaDA-1.525638.438.679.233.4
51245.137.682.938.6
102445.737.482.539.6

🙌 Acknowledgements

This project is built upon the open-source repository daedal. Special thanks to the author for their contributions.