Text Generation
GGUF
English
qwen
Mixture of Experts
reasoning
agentic
unsloth
imatrix
cybersecurity
ethical-hacking
reverse-engineering
devops
lua
local-llm
on-premises
conversational
Instructions to use iBossonline/RegesCore-1.0-35 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 iBossonline/RegesCore-1.0-35 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 iBossonline/RegesCore-1.0-35:UD-Q4_K_M # Run inference directly in the terminal: llama cli -hf iBossonline/RegesCore-1.0-35:UD-Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf iBossonline/RegesCore-1.0-35:UD-Q4_K_M # Run inference directly in the terminal: llama cli -hf iBossonline/RegesCore-1.0-35:UD-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 iBossonline/RegesCore-1.0-35:UD-Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf iBossonline/RegesCore-1.0-35:UD-Q4_K_M
Use Docker
docker model run hf.co/iBossonline/RegesCore-1.0-35:UD-Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use iBossonline/RegesCore-1.0-35 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "iBossonline/RegesCore-1.0-35" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "iBossonline/RegesCore-1.0-35", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/iBossonline/RegesCore-1.0-35:UD-Q4_K_M
- Ollama
How to use iBossonline/RegesCore-1.0-35 with Ollama:
ollama run hf.co/iBossonline/RegesCore-1.0-35:UD-Q4_K_M
- Unsloth Desktop
- Pi
How to use iBossonline/RegesCore-1.0-35 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf iBossonline/RegesCore-1.0-35:UD-Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "iBossonline/RegesCore-1.0-35:UD-Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use iBossonline/RegesCore-1.0-35 with Docker Model Runner:
docker model run hf.co/iBossonline/RegesCore-1.0-35:UD-Q4_K_M
- Lemonade
How to use iBossonline/RegesCore-1.0-35 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull iBossonline/RegesCore-1.0-35:UD-Q4_K_M
Run and chat with the model
lemonade run user.RegesCore-1.0-35-UD-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use iBossonline/RegesCore-1.0-35 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf iBossonline/RegesCore-1.0-35:UD-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:9931/v1 hermes config set model.default iBossonline/RegesCore-1.0-35:UD-Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use iBossonline/RegesCore-1.0-35 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf iBossonline/RegesCore-1.0-35:UD-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:9931/v1 \ --custom-model-id "iBossonline/RegesCore-1.0-35:UD-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"
Download lmstudio-grammar-fix-proxy.js from iBossonline/RegesCore-1.0-35: direct link, hf CLI and curl.
- Browser
- Download file 5.63 kB
-
https://huggingface.co/iBossonline/RegesCore-1.0-35/resolve/main/lmstudio-grammar-fix-proxy.js
- Command line
-
hf download hf://iBossonline/RegesCore-1.0-35/lmstudio-grammar-fix-proxy.js
-
curl -L -o lmstudio-grammar-fix-proxy.js https://huggingface.co/iBossonline/RegesCore-1.0-35/resolve/main/lmstudio-grammar-fix-proxy.js
5.63 kB
| /* | |
| * lmstudio-grammar-fix-proxy.js | |
| * ------------------------------------------------------------------ | |
| * Transparent local proxy that lets Claude Code (full agent mode) talk | |
| * to LM Studio's native Anthropic-compatible endpoint. | |
| * | |
| * THE PROBLEM IT FIXES | |
| * Claude Code's `tools` array includes schemas whose size bounds blow | |
| * up llama.cpp's GBNF grammar compiler when LM Studio compiles them | |
| * to constrain tool-call output. Specifically: | |
| * - Workflow.script: maxLength 524288 -> `char{0,524288}` | |
| * - huge integer maximums on some fields | |
| * GBNF caps repetitions at ~100000, so 524288 throws | |
| * "number of repetitions exceeds sane defaults" / "failed to parse grammar" | |
| * -> HTTP 400 on every tool turn -> the agent loop dies immediately. | |
| * | |
| * THE FIX | |
| * Clamp every oversized bound in each tool's input_schema to a value | |
| * the grammar compiler accepts, then forward unchanged to LM Studio. | |
| * Responses stream straight back untouched. | |
| * | |
| * USAGE | |
| * 1. Start LM Studio's server (port 2126) and load your model. | |
| * 2. node lmstudio-grammar-fix-proxy.js | |
| * 3. Point Claude Code desktop (Developer -> Configure Third-Party | |
| * Inference) at http://localhost:2140 instead of LM Studio. | |
| * | |
| * Zero dependencies. Node 16+. | |
| * ------------------------------------------------------------------ */ | |
| const http = require("http"); | |
| const UPSTREAM = { host: "127.0.0.1", port: 2126 }; // LM Studio | |
| const PROXY_PORT = 2140; // what Claude Code hits | |
| // Caps chosen to stay well under llama.cpp's GBNF repetition limit (~100000). | |
| const MAX_STRING_LEN = 80000; // maxLength on string fields | |
| const MAX_NUMBER = 1000000; // maximum on numeric fields | |
| const MAX_ITEMS = 1000; // maxItems / maxProperties | |
| function clamp(value, cap) { | |
| return typeof value === "number" && value > cap ? cap : value; | |
| } | |
| // Recursively walk a JSON-schema-like object and shrink oversized bounds. | |
| function sanitizeSchema(node) { | |
| if (Array.isArray(node)) { | |
| for (const item of node) sanitizeSchema(item); | |
| return; | |
| } | |
| if (node && typeof node === "object") { | |
| for (const [key, value] of Object.entries(node)) { | |
| switch (key) { | |
| case "maxLength": | |
| case "minLength": // harmless to leave; only max matters for repetition | |
| node[key] = clamp(value, MAX_STRING_LEN); | |
| break; | |
| case "maximum": | |
| case "exclusiveMaximum": | |
| node[key] = clamp(value, MAX_NUMBER); | |
| break; | |
| case "maxItems": | |
| case "maxProperties": | |
| node[key] = clamp(value, MAX_ITEMS); | |
| break; | |
| default: | |
| if (value && typeof value === "object") sanitizeSchema(value); | |
| } | |
| } | |
| } | |
| } | |
| // Rewrite a request body in place; returns the (possibly new) body string. | |
| function sanitizeRequestBody(rawBody) { | |
| try { | |
| const payload = JSON.parse(rawBody); | |
| // Anthropic-style: tools[].input_schema | |
| if (Array.isArray(payload.tools)) { | |
| for (const tool of payload.tools) { | |
| if (tool && tool.input_schema) sanitizeSchema(tool.input_schema); | |
| } | |
| } | |
| // OpenAI-style: tools[].function.parameters / functions[].parameters | |
| const flattenOpenAITools = (tools) => { | |
| if (Array.isArray(tools)) { | |
| for (const t of tools) { | |
| if (t && t.function && t.function.parameters) sanitizeSchema(t.function.parameters); | |
| else if (t && t.parameters) sanitizeSchema(t.parameters); | |
| } | |
| } | |
| }; | |
| flattenOpenAITools(payload.tools); | |
| if (Array.isArray(payload.functions)) { | |
| for (const f of payload.functions) { | |
| if (f && f.parameters) sanitizeSchema(f.parameters); | |
| } | |
| } | |
| return JSON.stringify(payload); | |
| } catch { | |
| return rawBody; // not JSON or unparseable -> forward untouched | |
| } | |
| } | |
| const TOOL_BEARING = ["/v1/messages", "/v1/chat/completions"]; | |
| const server = http.createServer((clientReq, clientRes) => { | |
| const chunks = []; | |
| clientReq.on("data", (c) => chunks.push(c)); | |
| clientReq.on("end", () => { | |
| let body = Buffer.concat(chunks); | |
| const isToolBearing = | |
| clientReq.method === "POST" && TOOL_BEARING.includes(clientReq.url.split("?")[0]); | |
| if (isToolBearing && body.length) { | |
| const sanitized = sanitizeRequestBody(body.toString("utf8")); | |
| if (sanitized.length !== body.length || sanitized !== body.toString("utf8")) { | |
| body = Buffer.from(sanitized, "utf8"); | |
| } | |
| } | |
| const headers = { ...clientReq.headers }; | |
| headers["content-length"] = Buffer.byteLength(body); | |
| headers.host = `${UPSTREAM.host}:${UPSTREAM.port}`; | |
| const upstreamReq = http.request( | |
| { | |
| host: UPSTREAM.host, | |
| port: UPSTREAM.port, | |
| method: clientReq.method, | |
| path: clientReq.url, | |
| headers, | |
| }, | |
| (upstreamRes) => { | |
| clientRes.writeHead(upstreamRes.statusCode || 502, upstreamRes.headers); | |
| upstreamRes.pipe(clientRes); // stream SSE/text straight through, never buffer | |
| } | |
| ); | |
| upstreamReq.on("error", (err) => { | |
| clientRes.writeHead(502, { "content-type": "application/json" }); | |
| clientRes.end(JSON.stringify({ error: { type: "proxy_error", message: err.message } })); | |
| }); | |
| upstreamReq.end(body); | |
| }); | |
| clientReq.on("error", () => {}); | |
| }); | |
| server.listen(PROXY_PORT, "127.0.0.1", () => { | |
| console.log(`[grammar-fix-proxy] listening on http://127.0.0.1:${PROXY_PORT}`); | |
| console.log(`[grammar-fix-proxy] forwarding to http://${UPSTREAM.host}:${UPSTREAM.port}`); | |
| console.log(`[grammar-fix-proxy] clamping tools: maxLength<=${MAX_STRING_LEN}, maximum<=${MAX_NUMBER}`); | |
| }); | |