Instructions to use LoliRimuru/SlopPrompt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use LoliRimuru/SlopPrompt with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="LoliRimuru/SlopPrompt", filename="SlopPrompt-v5-BF16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use LoliRimuru/SlopPrompt with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf LoliRimuru/SlopPrompt:BF16 # Run inference directly in the terminal: llama cli -hf LoliRimuru/SlopPrompt:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf LoliRimuru/SlopPrompt:BF16 # Run inference directly in the terminal: llama cli -hf LoliRimuru/SlopPrompt:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf LoliRimuru/SlopPrompt:BF16 # Run inference directly in the terminal: ./llama-cli -hf LoliRimuru/SlopPrompt:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf LoliRimuru/SlopPrompt:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf LoliRimuru/SlopPrompt:BF16
Use Docker
docker model run hf.co/LoliRimuru/SlopPrompt:BF16
- LM Studio
- Jan
- Ollama
How to use LoliRimuru/SlopPrompt with Ollama:
ollama run hf.co/LoliRimuru/SlopPrompt:BF16
- Unsloth Studio
How to use LoliRimuru/SlopPrompt with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LoliRimuru/SlopPrompt to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LoliRimuru/SlopPrompt to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LoliRimuru/SlopPrompt to start chatting
- Pi
How to use LoliRimuru/SlopPrompt with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LoliRimuru/SlopPrompt:BF16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LoliRimuru/SlopPrompt:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use LoliRimuru/SlopPrompt with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LoliRimuru/SlopPrompt:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default LoliRimuru/SlopPrompt:BF16
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use LoliRimuru/SlopPrompt with Docker Model Runner:
docker model run hf.co/LoliRimuru/SlopPrompt:BF16
- Lemonade
How to use LoliRimuru/SlopPrompt with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LoliRimuru/SlopPrompt:BF16
Run and chat with the model
lemonade run user.SlopPrompt-BF16
List all available models
lemonade list
Slop Prompt v5
A fine-tuned Qwen3.5 4B model for enhancing AI image-generation prompts. It was trained on a multi-format anime-art caption dataset and supports 11 conversion directions between Danbooru tags, short phrases, long descriptive paragraphs, and structured JSON.
Model variants
| File / folder | Format | Size | Use case |
|---|---|---|---|
SlopPrompt-v5/ |
Hugging Face Transformers (BF16 safetensors, vision-capable) |
~8.9 GB | Python / Transformers / vLLM / TGI / multimodal loaders |
SlopPrompt-v5-BF16.gguf |
llama.cpp GGUF BF16 | ~9.7 GB | Maximum-quality local text inference |
SlopPrompt-v5-Q8_0.gguf |
llama.cpp GGUF Q8_0 | ~5.1 GB | Fast, memory-efficient local text inference |
Base model: MuXodious/Qwen3.5-4B-SOMPOA-heresy-v2
Dataset credit
Training data derived from Anime Art Multicaptions v5.0 by Minthy
https://huggingface.co/datasets/Minthy/Anime-Art-Multicaptions-v5.0
All examples were anonymized: character, artist, source, and copyright names were removed from inputs and targets.
What the model can do
The model was trained on 11 prompt-conversion modes. Each mode has its own system-prompt instructions. Use the exact system prompt for the direction you want.
| # | Mode | Description |
|---|---|---|
| 1 | tags -> long |
Danbooru tags → detailed descriptive paragraph |
| 2 | tags -> short |
Danbooru tags → one short natural-language phrase |
| 3 | tags -> json |
Danbooru tags → structured JSON |
| 4 | tags_hallucination -> long |
Incomplete tag list → reconstructed detailed paragraph |
| 5 | tags_hallucination -> short |
Incomplete tag list → reconstructed short phrase |
| 6 | tags_hallucination -> json |
Incomplete tag list → reconstructed JSON |
| 7 | long -> json |
Descriptive paragraph → JSON |
| 8 | json -> long |
JSON → detailed descriptive paragraph |
| 9 | long -> short |
Paragraph → short phrase |
| 10 | json -> short |
JSON → short phrase |
| 11 | short -> long |
Short phrase → detailed paragraph |
Training system prompts
Use these as the system message for each mode.
Base system prefix (prepended to every mode):
You are a prompt enhancer for AI image generation. Do not include real names of characters, artists, sources, or copyrights in your output. Use generic descriptions instead.
| Mode | System instruction appended to the base prefix |
|---|---|
tags -> long |
You are given a list of Danbooru tags describing an image. Write a detailed, descriptive paragraph that captures the full scene, characters, clothing, pose, and atmosphere. |
tags -> short |
You are given a list of Danbooru tags describing an image. Write a single short natural-language phrase that summarizes the image. |
tags -> json |
You are given a list of Danbooru tags describing an image. Convert them into the structured JSON format shown in the reference. |
tags_hallucination -> long |
You are given a partial, incomplete list of Danbooru tags. Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph. |
tags_hallucination -> short |
You are given a partial, incomplete list of Danbooru tags. Reconstruct the scene and write a single short natural-language phrase. |
tags_hallucination -> json |
You are given a partial, incomplete list of Danbooru tags. Reconstruct the missing details and format the result as the structured JSON shown in the reference. |
long -> json |
You are given a descriptive paragraph about an image. Convert it into the structured JSON format shown in the reference. |
json -> long |
You are given a structured JSON description of an image. Write it out as a detailed, descriptive paragraph. |
long -> short |
You are given a descriptive paragraph about an image. Summarize it into a single short natural-language phrase. |
json -> short |
You are given a structured JSON description of an image. Summarize it into a single short natural-language phrase. |
short -> long |
You are given a short phrase describing an image. Expand it into a detailed, descriptive paragraph. |
What to expect
- Strong on the 11 trained directions. It follows the system prompt, produces fluent English, and keeps outputs free of real names.
- Cross-language input is understood. You can write the user message in French, Spanish, etc., and it will usually answer in English as instructed.
- Hallucination mode invents plausible missing details from an incomplete tag list.
- JSON outputs are generally valid and include keys such as
character,background,texts, andatmosphere. - Output length: By default it writes one or two paragraphs (~150–250 words) and then stops. For longer outputs, force a minimum token count (see parameters below).
- Reverse tag extraction (
description -> tags) was not trained. If you ask for that, it will usually return short sentences instead of Danbooru tags.
Vision support
The base model is a multimodal Qwen3.5 checkpoint, and the published Hugging Face folder still contains the original vision encoder weights. You can load it with:
from transformers import AutoModelForImageTextToText, AutoTokenizer
model = AutoModelForImageTextToText.from_pretrained(
"SlopPrompt-v5",
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("SlopPrompt-v5", trust_remote_code=True)
The vision backbone is unchanged from the base model. You can pass images through it, but the model was not specifically fine-tuned for vision-to-prompt tasks.
The GGUF releases are text-only.
Recommended generation parameters
These settings work well for most modes.
max_new_tokens = 512
temperature = 0.7
top_p = 0.9
repetition_penalty = 1.05
no_repeat_ngram_size = 5
For deterministic output, set do_sample=False.
For longer output, set:
min_new_tokens = 400
max_new_tokens = 1536
repetition_penalty = 1.01
no_repeat_ngram_size = 2
The model will then produce ~300–400 words before stopping.
Usage with Hugging Face Transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_path = "SlopPrompt-v5"
model = AutoModelForCausalLM.from_pretrained(
model_path,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
system = (
"You are a prompt enhancer for AI image generation. "
"Do not include real names of characters, artists, sources, or copyrights in your output. "
"Use generic descriptions instead.\n\n"
"You are given a partial, incomplete list of Danbooru tags. "
"Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph."
)
messages = [
{"role": "system", "content": system},
{"role": "user", "content": "1girl, loli, at park, night, sitting on bench, dress"},
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False, # important for clean output
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
repetition_penalty=1.05,
no_repeat_ngram_size=5,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.pad_token_id,
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
Usage with llama.cpp (GGUF)
The GGUF was verified with a current llama.cpp build. Run it in single-turn mode with reasoning disabled.
PROMPT='<|im_start|>system
You are a prompt enhancer for AI image generation. Do not include real names of characters, artists, sources, or copyrights in your output. Use generic descriptions instead.
You are given a partial, incomplete list of Danbooru tags. Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph.
<|im_end|>
<|im_start|>user
1girl, loli, at park, night, sitting on bench, dress
<|im_end|>
<|im_start|>assistant
'
llama-cli \
-m SlopPrompt-v5-Q8_0.gguf \
-p "$PROMPT" \
-n 512 \
-t 16 \
-ngl 99 \
--temp 0.7 \
--top-p 0.9 \
--repeat-penalty 1.05 \
--no-display-prompt \
--no-conversation \
--single-turn \
--reasoning off
On an RTX-class GPU expect ~200+ tokens/s for Q8_0 and ~150 tokens/s for BF16.
File layout
publish/
├── README.md
├── SlopPrompt-v5/ # HF Transformers BF16 safetensors (text + vision)
│ ├── config.json
│ ├── generation_config.json
│ ├── chat_template.jinja
│ ├── tokenizer_config.json
│ ├── tokenizer.json
│ └── model.safetensors
├── SlopPrompt-v5-BF16.gguf # llama.cpp BF16
└── SlopPrompt-v5-Q8_0.gguf # llama.cpp Q8_0
Limitations
- Trained on English anime-art captions. Other languages may work as input but output is expected to be English.
- Does not reliably perform reverse extraction such as
long -> tagsbecause that mode was not in the training set. - May hallucinate extra details in reconstruction/hallucination modes; use a lower temperature or greedy decoding for more conservative outputs.
Disclaimer
This model generates text based on patterns learned from training data. The authors provide no guarantees about accuracy, safety, appropriateness, or fitness for any particular purpose. Outputs may be unexpected, inaccurate, or inconsistent with the provided system prompt. Review and filter outputs before using them in production or for downstream image generation.
Credits & license
- Base model:
MuXodious/Qwen3.5-4B-SOMPOA-heresy-v2 - Dataset:
Minthy/Anime-Art-Multicaptions-v5.0 - Released under the terms of the base model and dataset licenses.
- Downloads last month
- 90
8-bit
16-bit
Model tree for LoliRimuru/SlopPrompt
Base model
Qwen/Qwen3.5-4B-Base