Run this model with HF Jobs

Run Continuous-Rivals-Discrete/langflow-owt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Continuous-Rivals-Discrete/langflow-owt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Continuous-Rivals-Discrete/langflow-owt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Continuous-Rivals-Discrete/langflow-owt. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Continuous-Rivals-Discrete/langflow-owt. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

LangFlow

LangFlow is a continuous diffusion language model that operates in embedding space. Unlike discrete diffusion models (MDLM, SEDD, DUO), LangFlow performs diffusion directly on continuous token embeddings, enabling smoother denoising dynamics.

For more details, please see our paper: LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling.

Using LangFlow

To use the pre-trained model for text generation, use the following snippet:

from transformers import AutoModelForMaskedLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('gpt2')
model = AutoModelForMaskedLM.from_pretrained('chumengl/langflow-owt', trust_remote_code=True)

# Generate samples
samples = model.generate_samples(num_samples=5, num_steps=128)
texts = tokenizer.batch_decode(samples, skip_special_tokens=True)
for text in texts:
    print(text)

Model Details

  • Architecture: DiT (Diffusion Transformer) backbone with adaptive layer normalization
  • Context Length: 1024 tokens
  • Parameters: ~130M non-embedding parameters (similar to GPT-2 medium)
  • Training: 1M steps on OpenWebText corpus
  • Tokenizer: GPT-2 tokenizer (50,257 vocab size)

Citation

@article{chen2026langflow,
  title={LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling},
  author={Chen, Yuxin and Liang, Chumeng and Sui, Hangke and Guo, Ruihan and Cheng, Chaoran and You, Jiaxuan and Liu, Ge},
  journal={arXiv preprint arXiv:2604.11748},
  year={2026}
}

Model Card Contact

Chumeng Liang (chumengl@illinois.edu)

Downloads last month
1,312
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train Continuous-Rivals-Discrete/langflow-owt

Paper for Continuous-Rivals-Discrete/langflow-owt