How to use from
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 photron29/roast_engine:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf photron29/roast_engine:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf photron29/roast_engine:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf photron29/roast_engine:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf photron29/roast_engine:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf photron29/roast_engine:Q4_K_M
Use Docker
docker model run hf.co/photron29/roast_engine:Q4_K_M
Quick Links

Roast Engine by Photron (photron29/roast_engine)

A fine-tuned Qwen2.5-7B-Instruct (Q4_K_M GGUF, ~4.68 GB) built for Discord roast bots. Replies with one short, savage one-liner in Romanized Hinglish by default (or English if prompted in English).

The system prompt and inference params (temperature: 0.5, top_p: 0.8, num_predict: 40, num_ctx: 2048) are bundled in this repo—Ollama loads them automatically.

1. Install & Run Locally (Ollama)

Make sure Ollama is installed, then pull and test the model with one command:

ollama run hf.co/photron29/roast_engine

(Optional) Give it a shorter local name for your bot code:

ollama cp hf.co/photron29/roast_engine photron-roast-engine

(Optional) Verify the bundled system prompt and parameters loaded properly:

ollama show hf.co/photron29/roast_engine --modelfile

2. Use in Your Discord Bot

Once pulled, Ollama runs a local API server at http://localhost:11434. Click your language below:

JavaScript / Node.js (discord.js)
const res = await fetch("http://localhost:11434/api/chat", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    model: "hf.co/photron29/roast_engine",
    messages: [{ role: "user", content: message.content }],
    stream: false
  })
});
const data = await res.json();
const roast = data.message.content;
Python (discord.py)
import requests

res = requests.post(
    "http://localhost:11434/api/chat",
    json={
        "model": "hf.co/photron29/roast_engine",
        "messages": [{"role": "user", "content": message.content}],
        "stream": False,
    },
)
roast = res.json()["message"]["content"]

Notes

  • Hardware: Works on ~4–6 GB VRAM GPUs (Ollama automatically offloads extra layers to system RAM if needed).
  • Remote Bot Hosting: If your Discord bot runs on a separate server/VPS instead of the same PC as Ollama, expose port 11434 through a tunnel (e.g., Cloudflare Tunnel) or reverse proxy with authentication.
Downloads last month
97
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for photron29/roast_engine

Base model

Qwen/Qwen2.5-7B
Quantized
(465)
this model