Add model card for ELF
#1
by nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: summarization
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# ELF: Embedded Language Flows
|
| 7 |
+
|
| 8 |
+
ELF (Embedded Language Flows) is a class of continuous diffusion language models based on continuous-time Flow Matching. Unlike existing diffusion language models (DLMs), ELF predominantly stays within the continuous embedding space until the final time step, where it maps to discrete tokens using a shared-weight network. This formulation makes it straightforward to adapt established techniques from image-domain diffusion models, such as classifier-free guidance (CFG).
|
| 9 |
+
|
| 10 |
+
- **Paper:** [ELF: Embedded Language Flows](https://huggingface.co/papers/2605.10938)
|
| 11 |
+
- **Repository:** [https://github.com/lillian039/ELF](https://github.com/lillian039/ELF)
|
| 12 |
+
|
| 13 |
+
## Sample Usage
|
| 14 |
+
|
| 15 |
+
To evaluate this model on the XSum summarization task using the official JAX implementation, you can use the following command:
|
| 16 |
+
|
| 17 |
+
```bash
|
| 18 |
+
cd src/
|
| 19 |
+
|
| 20 |
+
# Run evaluation on XSum
|
| 21 |
+
python eval.py \
|
| 22 |
+
--config configs/training_configs/train_xsum_ELF-B.yml \
|
| 23 |
+
--checkpoint_path embedded-language-flows/ELF-B-xsum
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
The evaluator runs on the task's validation set and reports ROUGE-1/2/L scores.
|
| 27 |
+
|
| 28 |
+
## Citation
|
| 29 |
+
|
| 30 |
+
If you find this work useful, please consider citing the paper:
|
| 31 |
+
|
| 32 |
+
```bibtex
|
| 33 |
+
@article{elf2026,
|
| 34 |
+
title={ELF: Embedded Language Flows},
|
| 35 |
+
author={Hu, Keya and Qiu, Linlu and Lu, Yiyang and Zhao, Hanhong and Li, Tianhong and Kim, Yoon and Andreas, Jacob and He, Kaiming},
|
| 36 |
+
journal={arXiv preprint arXiv:2605.10938},
|
| 37 |
+
year={2026}
|
| 38 |
+
}
|
| 39 |
+
```
|