Instructions to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF", filename="qwen2-diffusion-prompter-v01-q4_k_s.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S # Run inference directly in the terminal: llama-cli -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S # Run inference directly in the terminal: llama-cli -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
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 trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
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 trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
Use Docker
docker model run hf.co/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
- LM Studio
- Jan
- Ollama
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with Ollama:
ollama run hf.co/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
- Unsloth Studio new
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF 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 trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF 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 trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF to start chatting
- Docker Model Runner
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with Docker Model Runner:
docker model run hf.co/trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
- Lemonade
How to use trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF-Q4_K_S
List all available models
lemonade list
Qwen2-0.5B-DiffusionPrompter-v0.1
This repo contains the GGUF quants of 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
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
- 40
4-bit
5-bit
6-bit
Model tree for trollek/Qwen2-0.5B-DiffusionPrompter-v0.1-GGUF
Base model
Qwen/Qwen2-0.5B