Downloads · 30 days
0
landrarwolf/CDEQ
CDEQ is a machine learning model from landrarwolf. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository provides the official codebase for Consistency DEQ. It includes three tasks across four datasets. The implementation centers on Consistency Model based inference as the primary method.
Downloads · 30 days
0
Access
Public
Updated Jul 1, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py393 KB · 91%
From the Hugging Face model README
This repository provides the official codebase for Consistency DEQ. It includes three tasks across four datasets. The implementation centers on Consistency Model based inference as the primary method.
Task A — Sequence Modeling
Task B — Graph Node Classification
Task C — Vision Classification
Total: 3 tasks / 4 datasets.
code/
DEQ-Sequence/ # Sequence task (wikitext-103)
IGNN/ # Graph tasks (ogbn-arxiv, ogbn-products)
MDEQ/ # Vision task (ImageNet)
cm_plugin/ # CM plugin interface and refiner loader
cm_checkpoints/ # CM checkpoints per task/dataset
README.md # This document
All commands are assumed to be executed from the repository root.
DEQ baseline inference
python DEQ-Sequence/train_transformer.py --eval --data ./DEQ-Sequence/data/wikitext-103
CM inference (wikitext-103)
python DEQ-Sequence/train_transformer.py \
--eval \
--data ./DEQ-Sequence/data/wikitext-103 \
--cm_enable \
--cm_load cm_checkpoints/sequence/wt103/best_cm_model.pth
DEQ baseline inference
python IGNN/train_IGNN_ogbn_arxiv.py --inference
CM inference (ogbn-arxiv)
python IGNN/train_IGNN_ogbn_arxiv.py \
--inference \
--cm_enable \
--cm_load cm_checkpoints/graph/ogbn-arxiv/best_cm_model.pth
DEQ baseline inference
python IGNN/train_IGNN_ogbn_products.py --inference
CM inference (ogbn-products)
python IGNN/train_IGNN_ogbn_products.py \
--inference \
--cm_enable \
--cm_load cm_checkpoints/graph/ogbn-products/best_cm_model.pth
DEQ baseline inference
python MDEQ/tools/cls_valid.py --cfg MDEQ/experiments/imagenet/cls_mdeq_SMALL.yaml
CM inference (ImageNet)
python MDEQ/tools/cls_valid.py \
--cfg MDEQ/experiments/imagenet/cls_mdeq_SMALL.yaml \
--opts CM.ENABLE True CM.LOAD_PATH cm_checkpoints/vision/imagenet/best_cm_model.pth