Instructions to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF", filename="elysium-f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
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 build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
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 build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
Use Docker
docker model run hf.co/build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
- LM Studio
- Jan
- vLLM
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "build-small-hackathon/elysium-MiniCPM-V-4.6-F16-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": "build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
- Ollama
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with Ollama:
ollama run hf.co/build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
- Unsloth Studio
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-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 build-small-hackathon/elysium-MiniCPM-V-4.6-F16-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 build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF to start chatting
- Pi
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
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": "build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
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 build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with Docker Model Runner:
docker model run hf.co/build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
- Lemonade
How to use build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF:F16
Run and chat with the model
lemonade run user.elysium-MiniCPM-V-4.6-F16-GGUF-F16
List all available models
lemonade list
🌿 Elysium — MiniCPM-V-4.6 F16 GGUF
A single-file F16 (full-precision) GGUF of Elysium, a QLoRA
fine-tune of openbmb/MiniCPM-V-4.6
trained to always emit valid ElysiumResponse JSON (schema v1.0.0).
Submission to the Build Small Hackathon.
📦 File
| File | Size | Quantization | Quality |
|---|---|---|---|
elysium-f16.gguf |
1.89 GB | F16 (full precision) | ★★★★★ — zero quantization loss |
Only F16 is published in this repo. Integer quantizations (Q4_K_M / Q6_K / Q8_0) were intentionally skipped — F16 preserves 100 % of the fine-tuned weights so the JSON-schema compliance guarantees from training are not eroded by quantization noise.
🚀 Quick start — llama.cpp CLI
./llama-cli \
-m elysium-f16.gguf \
-n 2048 \
--temp 0 \
-p "What is the capital of Tamil Nadu?"
🚀 Quick start — Python (llama-cpp-python)
from llama_cpp import Llama
import json
llm = Llama(
model_path="elysium-f16.gguf",
n_ctx=4096,
n_gpu_layers=-1,
verbose=False,
)
# Use the SAME system prompt the model was fine-tuned with
SYSTEM = open("system_prompt.txt").read()
prompt = f"<|im_start|>system\n{SYSTEM}<|im_end|>\n<|im_start|>user\nWhat is the capital of Tamil Nadu?<|im_end|>\n<|im_start|>assistant\n"
out = llm(prompt, max_tokens=2048, temperature=0.0, stop=["<|im_end|>"])
parsed = json.loads(out["choices"][0]["text"])
print(parsed["direct_answer"])
# → "Chennai is the capital of Tamil Nadu, India."
🎓 Training recipe (summary)
| Technique | Setting |
|---|---|
| Base model | openbmb/MiniCPM-V-4.6 (1.3 B params — SigLIP2-400M + Qwen3.5-0.8B) |
| Adapter | QLoRA, r=64, α=128, dropout=0.05 |
| Quantization (training) | 4-bit NF4, BF16 compute |
| Target modules | q/k/v/o/gate/up/down_proj + embed_tokens + lm_head |
| Loss | Response-only masking + 3× JSON structural-token upweight |
| Regularisation | NEFTune α=5.0, weight_decay=0.01, max_grad_norm=0.5 |
| Optimiser | paged_adamw_8bit, lr=1e-4, cosine + warm restarts |
| Curriculum | Examples sorted shortest-first |
| Schema validation | Every 25 steps against ElysiumResponse v1.0.0 |
📐 ElysiumResponse Schema v1.0.0
The model is fine-tuned to always emit a single JSON object containing:
schema_version, session_id, timestamp_utc, interaction_type,
direct_answer, multimodal_perception, hypergraph_delta,
council_deliberation, tool_calls, daily_action_field,
probabilistic_forecasts, strain_metadata, ui_directives, metadata.
metadata.schema_validation_passed is always true.
🛠 Notes for hackathon judges
- The Qwen3.5 MTP (Multi-Token Prediction) head is stripped during
conversion (
--no-mtpflag) — standard autoregressive decode works perfectly without it. - Vision tower (
vpm+resampler) is NOT included in this GGUF. llama.cpp text inference is fully functional. For multimodal use the BF16 transformers checkpoint instead.
🙏 Credits
- Base model: OpenBMB MiniCPM-V-4.6
- Quantization: llama.cpp
- Hackathon: Build Small Hackathon
- Downloads last month
- 147
16-bit
Model tree for build-small-hackathon/elysium-MiniCPM-V-4.6-F16-GGUF
Base model
openbmb/MiniCPM-V-4.6