Run this model with HF Jobs
Run ungurenko/dflow-2b-mlx 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 to fine-tune https://huggingface.co/ungurenko/dflow-2b-mlx. 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/ungurenko/dflow-2b-mlx 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.
Instructions to use ungurenko/dflow-2b-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ungurenko/dflow-2b-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download ungurenko/dflow-2b-mlx --local-dir dflow-2b-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download models/dflow_2b/ATTRIBUTION.md from ungurenko/dflow-2b-mlx: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/ungurenko/dflow-2b-mlx/resolve/main/models/dflow_2b/ATTRIBUTION.md
- Command line
-
hf download hf://ungurenko/dflow-2b-mlx/models/dflow_2b/ATTRIBUTION.md
-
curl -L -o ATTRIBUTION.md https://huggingface.co/ungurenko/dflow-2b-mlx/resolve/main/models/dflow_2b/ATTRIBUTION.md
Attribution
T5Gemma 2 text encoder
The text_encoder/ folder is derived from
google/t5gemma-2-270m-270m,
published by Google, at revision 7c38f16641f455ef0685b18431faf1b17722d5a1.
Zhang et al., "T5Gemma 2: Seeing, Reading, and Understanding Longer," 2025. arXiv:2512.14856
The folder is a modified copy of the original. It contains only what dflow_2b uses for prompt conditioning:
- the tokenizer files, unchanged;
- the token embeddings;
- encoder layers 1 to 12.
The remaining encoder layers and the whole decoder are not included. The kept weights are stored in bfloat16 with their values unchanged and with shortened tensor names. Data Archetype made these modifications in November 2026.
Gemma is provided under and subject to the Gemma Terms of Use found at
gemma.ai/resources/terms. A copy of the
terms is in text_encoder/LICENSE-GEMMA.md. Use of the text encoder is subject
to the use restrictions in Section 3.2 of those terms, which include the
Gemma Prohibited Use Policy.
The bundled files are not relicensed under MG-BY-NC-2.0.
dinac3_96 autoencoder
dflow_2b generates latents for the separately published
data-archetype/dinac3_96
autoencoder. The loader downloads it at the pinned commit
d0ca36daa3e429a510ba465a5f7f8139c66d2f82. It is not part of this repository,
and its own repository is the authority for its code, model card and licence.
dflow_2b
The model weights, the dflow package, the documentation and the gallery
images are distributed under the ModelGo Attribution-NonCommercial License 2.0
(MG-BY-NC-2.0). See LICENSE, and retain NOTICE in any distribution.
The ComfyUI nodes in comfyui/ and the root __init__.py are distributed
under GPL-3.0. See comfyui/LICENSE.