Create README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---license: apache-2.0language:- enpipeline_tag: text generationtags:- non-autoregressive text generation- generative model- flow matching
---# Flow Matching for Conditional Text Generation in a Few Sampling Steps (EACL2024)
This model represents the official checkpoint of the paper titled "Flow Matching for Conditional Text Generation in a Few Sampling Steps (EACL2024)".
[Website](https://taohu.me/project_flowseq)[](https://aclanthology.org/2024.eacl-short.33.pdf)[](https://huggingface.co/taohu/flowseq)[](https://www.apache.org/licenses/LICENSE-2.0)
[Vincent Tao Hu](http://taohu.me),[Di Wu](),[Yuki M Asano](),[Pascal Mettes](),[Basura Fernando](),[Björn Ommer]()[Cees G.M. Snoek]()
Diffusion models are a promising tool for highquality text generation. However, current models face multiple drawbacks including slowsampling, noise schedule sensitivity, and misalignment between the training and samplingstages. In this paper, we introduce FlowSeq,which bypasses all current drawbacks by leveraging flow matching for conditional text generation. FlowSeq can generate text in a fewsteps by training with a novel anchor loss, alleviating the need for expensive hyperparameteroptimization of the noise schedule prevalent indiffusion models. We extensively evaluate ourproposed method and show competitive performance in tasks such as question generation,open-domain dialogue, and paraphrasing.
## 🎓 Citation
```bibtex@inproceedings{HuEACL2024, title = {Flow Matching for Conditional Text Generation in a Few Sampling Steps}, author = {Vincent Tao Hu and Di Wu and Yuki M Asano and Pascal Mettes and Basura Fernando and Björn Ommer and Cees G M Snoek}, year = {2024}, date = {2024-03-27}, booktitle = {EACL}, tppubtype = {inproceedings} }```
## 🎫 License
This work is licensed under the Apache License, Version 2.0 (as defined in the [LICENSE](LICENSE.txt)).
By downloading and using the code and model you agree to the terms in the [LICENSE](LICENSE.txt).
[](https://www.apache.org/licenses/LICENSE-2.0)README.mdAdded+62