MCPcopy Index your code
hub / github.com/Feng-Hong/WINO-DLLM

github.com/Feng-Hong/WINO-DLLM @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,980 symbols 15,349 edges 463 files 1,125 documented · 23%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WINO-DLLM

ICLR 2026

Official implementation of Wide-In, Narrow-Out: Revokable Decoding for Efficient and Effective DLLMs.

This repository provides scripts and instructions to evaluate WINO on LLaDA and MMaDA.

Related Projects

Evaluation of WINO on LLaDA

  1. Installation We recommend using uv for dependency and virtual environment management.
pipx install uv # or pip install uv
cd LLaDA
uv venv --python 3.11 dev
source dev/bin/activate
uv pip install -r requirements.txt
  1. Prepare Model and Datasets

Before running inference or evaluation, please download the following models and datasets from Hugging Face into the specified local directories (e.g., ./LLaDA/models/ and ./LLaDA/data/).

You may use either huggingface-cli or the Python datasets library to complete the download.

Model Name Hugging Face Repo Local Path
LLaDA-8B-Instruct GSAI-ML/LLaDA-8B-Instruct ./LLaDA/models/LLaDA-8B-Instruct/
Dataset Name Hugging Face Repo Local Path
GSM8K openai/gsm8k ./LLaDA/data/gsm8k/
MATH-500 HuggingFaceH4/MATH-500 ./LLaDA/data/math500/
HumanEval openai/openai_humaneval ./LLaDA/data/humaneval/
ai2_arc allenai/ai2_arc ./LLaDA/data/ai2_arc/

Datasets not listed above are already included in the ./LLaDA/data/ directory

  1. Quick Demo

Please make sure to set the correct model path in generate.py.

python generate.py
  1. Evaluation

To evaluate WINO on a benchmark such as GSM8K. Please configure the model and data paths in the corresponding config file.

CUDA_VISIBLE_DEVICES=0 python eval.py --config ./configs/gsm8k.yaml

All available config files can be found in the ./LLaDA/configs/ directory.

Evaluation of WINO on MMaDA

We evaluate WINO using lmms-eval.

To run the evaluation, follow these steps:

  1. Install MMaDA dependencies
cd MMaDA
# pipx install uv
uv venv --python 3.11 dev
source dev/bin/activate
uv pip install -r requirements.txt

A quick inference demo can be performed after this step.

python generate_demo.py
  1. Install lmms-eval dependencies
cd lmms_eval
uv pip install -e .
  1. Set some necessary environmental variables Some environmental variables are necessary for certain tasks to run.
export OPENAI_API_KEY="<YOUR_API_KEY>"
export HF_HOME="<Path to HF cache>" 
export HF_TOKEN="<YOUR_API_KEY>"
export HF_HUB_ENABLE_HF_TRANSFER="1"

Once all dependencies are installed and your API key is set, you can run the evaluation script directly:

cd ..
# Evaluating MMaDA on the reported six multimodel benchmarks
bash scripts/eval_baseline.sh
# Evaluating WINO on the reported six multimodel benchmarks
bash scripts/eval_wino.sh

Core symbols most depended-on inside this repo

to
called by 343
MMaDA/lmms_eval/lmms_eval/models/model_mmada/training_utils.py
update
called by 162
MMaDA/lmms_eval/lmms_eval/models/model_mmada/utils.py
decode
called by 144
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/processing_mplug_owl.py
from_pretrained
called by 108
MMaDA/lmms_eval/lmms_eval/models/model_mmada/training_utils.py
to
called by 105
MMaDA/models/training_utils.py
readlines
called by 88
LLaDA/dataset_utils/eval_correctness_mbpp/execution.py
group
called by 86
MMaDA/lmms_eval/lmms_eval/api/group.py
append_message
called by 84
MMaDA/lmms_eval/lmms_eval/models/video_chatgpt/video_conversation.py

Shape

Method 2,270
Function 2,240
Class 452
Route 18

Languages

Python100%

Modules by API surface

MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py153 symbols
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py97 symbols
MMaDA/models/modeling_llada.py88 symbols
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py88 symbols
LLaDA/modeling_llada.py88 symbols
MMaDA/lmms_eval/lmms_eval/api/task.py71 symbols
MMaDA/lmms_eval/lmms_eval/utils.py67 symbols
MMaDA/lmms_eval/lmms_eval/api/metrics.py64 symbols
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py56 symbols
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py43 symbols
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py42 symbols
MMaDA/models/common_modules.py37 symbols

For agents

$ claude mcp add WINO-DLLM \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact