Instructions to use bidubr/repente-v0.7-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bidubr/repente-v0.7-GGUF 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 bidubr/repente-v0.7-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bidubr/repente-v0.7-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bidubr/repente-v0.7-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bidubr/repente-v0.7-GGUF: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 bidubr/repente-v0.7-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bidubr/repente-v0.7-GGUF: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 bidubr/repente-v0.7-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bidubr/repente-v0.7-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bidubr/repente-v0.7-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use bidubr/repente-v0.7-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bidubr/repente-v0.7-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bidubr/repente-v0.7-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bidubr/repente-v0.7-GGUF:Q4_K_M
- Ollama
How to use bidubr/repente-v0.7-GGUF with Ollama:
ollama run hf.co/bidubr/repente-v0.7-GGUF:Q4_K_M
- Unsloth Studio
How to use bidubr/repente-v0.7-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 bidubr/repente-v0.7-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 bidubr/repente-v0.7-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bidubr/repente-v0.7-GGUF to start chatting
- Pi
How to use bidubr/repente-v0.7-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bidubr/repente-v0.7-GGUF: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": "bidubr/repente-v0.7-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bidubr/repente-v0.7-GGUF with Docker Model Runner:
docker model run hf.co/bidubr/repente-v0.7-GGUF:Q4_K_M
- Lemonade
How to use bidubr/repente-v0.7-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bidubr/repente-v0.7-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.repente-v0.7-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use bidubr/repente-v0.7-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bidubr/repente-v0.7-GGUF: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 bidubr/repente-v0.7-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bidubr/repente-v0.7-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bidubr/repente-v0.7-GGUF: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 "bidubr/repente-v0.7-GGUF: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"
Repente v0.7
A language model that writes Pure Data patches and SuperCollider code, and runs
locally. Qwen2.5-Coder-7B-Instruct fine-tuned with QLoRA, exported to GGUF at
Q4_K_M.
This is the current release. A companion repository, bidubr/repente-v0.5-GGUF, holds the earlier v0.5, kept available because the experiments in the paper were run on it.
What it does
Give it a description of a sound and it writes the code that produces it. Ask it about an existing patch and it explains the signal flow.
make a sine wave at 440 Hz connected to output
#N canvas 0 0 450 300 12;
#X obj 100 100 osc~ 440;
#X obj 100 150 dac~;
#X connect 0 0 1 0;
#X connect 0 0 1 1;
That is a Pure Data file. Save it, open it, and it makes a sound.
How good it is, measured
Five Pure Data generation prompts, each sampled 30 times at temperature 0.7, scored by whether the output carries a canvas header, an output object, and connections.
| Model | Expected score out of 5 | 95% interval |
|---|---|---|
| Qwen2.5-Coder-7B, unmodified | 0.03 | [0.00, 0.10] |
| Repente v0.5 | 2.67 | [2.37, 2.97] |
| Repente v0.7 | 3.83 | [3.53, 4.13] |
The base model emits a valid canvas header in 2.7% of attempts, yet names an output object in 68.7% of them, more often than v0.5 does. Its deficit is serialization, not intent, and that is the gap fine-tuning closes.
Version 0.7 is the strongest of the nine checkpoints trained, and is the only one the battery separates from v0.5 by disjoint intervals. Full protocol in Appendix C of the paper.
Running it
With Ollama, straight from this repository:
ollama run hf.co/bidubr/repente-v0.7-GGUF:Q4_K_M
With llama.cpp:
llama-server -m repente-v0.7-Q4_K_M.gguf -ngl 99 -c 4096
4.5 GB on disk. Fits in 8 GB of VRAM with room for a 4096-token context.
Prompting
The system prompt used throughout the reported experiments is short:
You are Repente, a musical programming expert.
Format validity improves substantially when three worked examples and a short chain-of-thought instruction are supplied together. Measured on frozen weights, the combination raises format validity from 75% to 100% across four prompt difficulty levels and eliminates output truncation, at no compute cost. Few-shot exemplars supplied alone introduce a context-leak failure mode in which the model continues the turn structure of the examples until the token limit; the reasoning instruction suppresses it. Details in Section 8 of the paper.
Known limitations
ELSE objects are not generated. Across 1,350 measured generations, an object from the ELSE library appears once. Five cycles of corpus weighting, including one that weighted ELSE explicitly, did not change this. Treat library coverage as a retrieval problem at inference time, not something the weights will supply.
Analysis responses are short. The unmodified base model produces analyses averaging 776 tokens; this model produces 151. The compression is a self-distillation artifact of using each version's own output to train the next, and it is documented rather than fixed.
Patch validity is not patch quality. The measurements above score a generation as passing when it carries a canvas header, an output object, and connections. That is necessary for a patch to make sound and not sufficient for it to make the right sound.
Related
- Paper: arXiv:[ARXIV_ID]
- Code, data and measurement protocol: https://repente.net
- pd-repente: a PlugData fork with a prompt bar in the patching window, https://github.com/dobidu/plugdata
Citation
@misc{repente2026,
author = {Batista, Carlos Eduardo Coelho Freire},
title = {Repente: A Specialized LLM for Musical Programming Languages
with SonicUnit Knowledge Architecture},
year = {2026},
eprint = {[ARXIV_ID]},
archivePrefix= {arXiv},
primaryClass = {cs.SD}
}
Licensed Apache 2.0, inherited from the base model.
- Downloads last month
- 84
4-bit