Add model card

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +42 -3
README.md CHANGED
@@ -1,3 +1,42 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: unconditional-image-generation
4
+ ---
5
+
6
+ # MixFlow: Mixed Source Distributions Improve Rectified Flows
7
+
8
+ This repository contains the weights for the model presented in the paper [MixFlow: Mixed Source Distributions Improve Rectified Flows](https://huggingface.co/papers/2604.09181).
9
+
10
+ MixFlow is a training strategy for rectified flows that reduces the generative path curvatures and improves sampling efficiency. It trains a flow model on linear mixtures of a fixed unconditional distribution and a distribution conditioned on an arbitrary signal (called $\kappa$-FC), which aligns the source distribution better with the data distribution.
11
+
12
+ - **Paper:** [https://arxiv.org/abs/2604.09181](https://arxiv.org/abs/2604.09181)
13
+ - **Repository:** [https://github.com/NazirNayal8/MixFlow](https://github.com/NazirNayal8/MixFlow)
14
+
15
+ ## Usage
16
+
17
+ Inference can be performed using the scripts provided in the official repository. After setting up the environment, you can run inference from a checkpoint as follows:
18
+
19
+ ```bash
20
+ bash scripts/run_inference.sh cifar10 /path/to/model.ckpt outputs/inference/cifar10
21
+ ```
22
+
23
+ For higher-resolution experiments such as FFHQ or AFHQv2 64x64:
24
+
25
+ ```bash
26
+ bash scripts/run_inference.sh ffhq_64x64 /path/to/model.ckpt outputs/inference/ffhq \
27
+ test.num_samples=10000 \
28
+ test.num_inference_timesteps=64
29
+ ```
30
+
31
+ ## Citation
32
+
33
+ ```bibtex
34
+ @inproceedings{
35
+ nayal2026mixflow,
36
+ title={MixFlow: Mixed Source Distributions Improve Rectified Flows},
37
+ author={Nazir Nayal and Christopher Wewer and Jan Eric Lenssen},
38
+ booktitle={ICLR 2026 2nd Workshop on Deep Generative Model in Machine Learning: Theory, Principle and Efficacy},
39
+ year={2026},
40
+ url={https://openreview.net/forum?id=uWktyU3OIJ}
41
+ }
42
+ ```