Instructions to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct", filename="Luna-Protocol-1.5B-Fine-Tuned-Qwen2.5.Q2_K.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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct 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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
Use Docker
docker model run hf.co/fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with Ollama:
ollama run hf.co/fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
- Unsloth Studio
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct 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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct 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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct to start chatting
- Pi
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
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": "fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
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 fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with Docker Model Runner:
docker model run hf.co/fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
- Lemonade
How to use fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct:Q4_K_M
Run and chat with the model
lemonade run user.Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct-Q4_K_M
List all available models
lemonade list
Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct : GGUF
Renamed repo. This model was previously published as
Luna-Protocol-1.5B-Discord-Dialogues. The weights are unchanged — the name now spells out the training scale (50k examples) and the base type (Qwen2.5-1.5B-Instruct) so it's identifiable at a glance. If you have the old name saved anywhere (scripts, Modelfiles,llama-cli -hf ...), update it tofox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct.
Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct is a QLoRA fine-tune of Qwen2.5-1.5B-Instruct trained on Discord-Dialogues-Preprocessed-Luna-Protocol (a preprocessed fork of mookiezi/Discord-Dialogues), aimed at reproducing the informal, short-form conversational style of real Discord chat.
Training was done with Unsloth (LoRA, r=16, ~1.18% of parameters trained) on a Kaggle T4, then merged and exported to GGUF.
⚠️ Read the "Recommended usage" section below before judging output quality — with a bare prompt and no priming, this model tends to fall back on Qwen's default assistant tone. A short few-shot prime (shown below) makes a large difference.
This model in context
This card documents the model weights. If what you actually want is a ready-to-run, fully autonomous Discord bot that uses this model as its local LLM — with sleep schedules, typos, hesitation, voice messages, spontaneous messages, anti-spam queueing, and a config.yml that wires few-shot priming in automatically — that's Luna Protocol on GitHub. The bot downloads and drives this exact GGUF file; everything below (quantizations, priming, limitations) applies directly to it.
Training details
- Base model:
unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit - Method: QLoRA (4-bit),
r=16,lora_alpha=16, target modules:q/k/v/o_proj,gate/up/down_proj - Dataset: ~50,000 examples (subset of the 7.3M-row Discord-Dialogues), filtered to 8–512 tokens, 2–3 epochs
- Trainable params: 18,464,768 / 1,562,179,072 (1.18%)
This is a relatively small-scale fine-tune (50k examples, not the full 7.3M-row dataset) — it shifts the model's tone and register noticeably, but doesn't fully override Qwen's underlying instruction-following behavior. See "Known limitations" below.
Available model files
| File | Quantization | Notes |
|---|---|---|
Luna-Protocol-1.5B-Fine-Tuned-Qwen2.5.Q2_K.gguf |
Q2_K | Smallest, noticeably degraded for a 1.5B model — not recommended |
Luna-Protocol-1.5B-Fine-Tuned-Qwen2.5.Q4_K_M.gguf |
Q4_K_M | Good size/quality balance |
Luna-Protocol-1.5B-Fine-Tuned-Qwen2.5.Q8_0.gguf |
Q8_0 | Near full precision, best style fidelity, recommended if size isn't a constraint |
Recommended usage: few-shot priming
Because the training data (Discord-Dialogues) contains only user/assistant turns and no system-role examples, this model responds only weakly to system prompts alone. What works much better is priming the conversation with a couple of example exchanges in the target style, using the same ChatML structure the model was trained on:
<|im_start|>user
yo whats good<|im_end|>
<|im_start|>assistant
nm just chillin, u<|im_end|>
<|im_start|>user
same tbh, bored af<|im_end|>
<|im_start|>assistant
lol same energy fr<|im_end|>
Feed this before the real user turn, then continue the conversation normally. In testing, this consistently produced short, casual, in-character replies (e.g. "suree", "just playing a bit wbu"), versus generic assistant-toned replies (e.g. "Good to know, what's your name?") when using a bare prompt or a verbose instructive system prompt.
A lightweight, non-instructive system prompt (e.g. "you're just chatting with friends on a discord server, nothing formal") can be used in addition to the few-shot prime, but performs poorly on its own without it.
If you'd rather not manage priming by hand, Luna Protocol exposes this as a
few_shot_exampleslist inconfig.ymland injects it automatically before every request.
llama.cpp
llama-cli -m Luna-Protocol-1.5B-Fine-Tuned-Qwen2.5.Q8_0.gguf \
--temp 1.0 --top-p 0.9 --top-k 60 --repeat-penalty 1.15 \
-p "<|im_start|>user
yo whats good<|im_end|>
<|im_start|>assistant
nm just chillin, u<|im_end|>
<|im_start|>user
same tbh, bored af<|im_end|>
<|im_start|>assistant
lol same energy fr<|im_end|>
" \
-cnv
Or via the HF integration:
llama-cli -hf fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct --jinja
Known limitations
- Weak instruction-following for style directives: asking the model within the system prompt to adopt a specific quirk (e.g. "talk in all lowercase with abbreviations") is not reliably followed — the model tends to keep its own learned tone rather than adapt to fine-grained stylistic instructions.
- Short training run: fine-tuned on ~50k of the 7.3M available rows for 2–3 epochs. A larger-scale run on more of the dataset would likely produce a stronger, more consistent style shift, reducing reliance on few-shot priming.
- Low quantizations degrade style fidelity: Q2_K noticeably weakens the learned conversational tone on a model this small; Q4_K_M and above preserve it much better.
- Minor context inconsistencies: as expected from a small model, it can contradict earlier turns within a short conversation (e.g. denying playing a game it just discussed).
Credits
- Base model: Qwen2.5-1.5B-Instruct (Qwen team, Alibaba Cloud)
- Training framework: Unsloth
- Dataset: mookiezi/Discord-Dialogues
- Used by: Luna Protocol — the Discord bot this model was trained for
- Downloads last month
- 359
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for fox3000foxy/Luna-Protocol-1.5B-Discord-Dialogues-50k-instruct
Base model
Qwen/Qwen2.5-1.5B