Run this model with HF Jobs

Run trollek/Qwen2-0.5B-DiffusionPrompter-v0.1 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/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1. 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/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1 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/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1. 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/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1. 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.

Qwen2-0.5B-DiffusionPrompter-v0.1

A small SD prompt model. Give it a prompt like "a beach ball" and you'll get something like:

A group of children play on a beach, wearing colorful clothing and hats. The sun is setting, casting a warm orange glow over the scene. The air is filled with laughter and screams as they jump and roll around in the sand. A small beach ball floats in the water, adding to the serene ambiance of the scene.

or "painting of a beach ball, WLOP":

beautiful sunset on the ocean in the style of wlop, painting of a beach ball, detailed and intricate details, realistic

Template

<|im_start|>user
{{image_concept}}<|im_end|>
<|im_start|>assistant
{{expanded_sd_response}}<|im_end|>

Quants and Ollama

GGUF

Ollama

ollama pull trollek/qwen2-diffusion-prompter:v01-q4_K_S
ollama pull trollek/qwen2-diffusion-prompter:v01-q5_K_S
ollama pull trollek/qwen2-diffusion-prompter:v01-q6_K

Notes and gratitude

Thanks to roborovski for superprompt-v1 and Gustavosta for Stable-Diffusion-Prompts.

I have no idea why the parameter count has grown be 100M parameters.

Downloads last month
41
Safetensors
Model size
0.6B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for trollek/Qwen2-0.5B-DiffusionPrompter-v0.1

Base model

Qwen/Qwen2-0.5B
Finetuned
(152)
this model
Quantizations
1 model

Datasets used to train trollek/Qwen2-0.5B-DiffusionPrompter-v0.1