Instructions to use SurendraVB/Mahiru-MoE-CyberSec 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 SurendraVB/Mahiru-MoE-CyberSec 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 SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M # Run inference directly in the terminal: llama cli -hf SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M # Run inference directly in the terminal: llama cli -hf SurendraVB/Mahiru-MoE-CyberSec: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 SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
Use Docker
docker model run hf.co/SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use SurendraVB/Mahiru-MoE-CyberSec with Ollama:
ollama run hf.co/SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
- Unsloth Desktop
- Pi
How to use SurendraVB/Mahiru-MoE-CyberSec with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SurendraVB/Mahiru-MoE-CyberSec: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": "SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SurendraVB/Mahiru-MoE-CyberSec with Docker Model Runner:
docker model run hf.co/SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
- Lemonade
How to use SurendraVB/Mahiru-MoE-CyberSec with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
Run and chat with the model
lemonade run user.Mahiru-MoE-CyberSec-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use SurendraVB/Mahiru-MoE-CyberSec with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SurendraVB/Mahiru-MoE-CyberSec: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 SurendraVB/Mahiru-MoE-CyberSec:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SurendraVB/Mahiru-MoE-CyberSec with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SurendraVB/Mahiru-MoE-CyberSec: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 "SurendraVB/Mahiru-MoE-CyberSec: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"
Upload CUSTOM_CONTRACTS.md with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859# Sovereign Mahiru MoE: Custom Alignment Contracts & Terms
This terms sheet details our specialized model surgery, merging, and local deployment services. Clients can select and stack core services with process-specific premium add-ons to customize their pipeline.
---
### 🚨 Launch Promotion: Custom Scoping Slots* **Current Availability:** 0 / 3 Slots Filled* **Pricing:** **Fully Negotiable** for the first 3 signed client contracts to establish case studies. Standard corporate rates apply thereafter.* **Inquiries:** Please open a discussion thread in this Hugging Face repository or contact [Placeholder: Professional Contact Email/Link] to secure a slot.
---
## 🧱 Core Stackable Services (Select one or multiple)
### 🔓 Service A: Model Abliteration (Safety & Refusal Removal)* **Description:** Surgical neutralization of safety layers and refusal weights from a target base model.* **Use Case:** Creates a highly compliant assistant that executes domain directives (e.g., automated pen-testing, raw system scripting) without triggering system refusals or safety filter blocks.* **Price:** *Negotiable (Launch Promo)*
### 🧬 Service B: Normal Model Merging (Same-Size Fusion)* **Description:** Fusing up to 3 distinct model checkpoints into a single unified checkpoint of the same parameter size (e.g., merging two 8B models into a single optimized 8B model) using SLERP, TIES, or DARE algorithms.* **Use Case:** Combines diverse capabilities (e.g., logic reasoning + creative writing) into a single model without expanding hardware memory usage.* **Price:** *Negotiable (Launch Promo)*
### 🧠 Service C: Sparse MoE Merging (Mixture of Experts)* **Description:** Compiling up to 3 specialist checkpoints into a routing-based Mixture of Experts (MoE) architecture with default Top-2 routing.* **Use Case:** Combines distinct domain specialists under a shared attention trunk, maintaining higher specialized reasoning accuracy.* **Price:** *Negotiable (Launch Promo)*
### 🗜️ Service D: Standard Model Quantization* **Description:** Compressing raw model checkpoints (Safetensors/PyTorch) into optimized deployment formats (GGUF, EXL2, AWQ) using standard open-source calibration datasets.* **Use Case:** Lowers hardware VRAM requirements for local edge deployment.* **Price:** *Negotiable (Launch Promo)*
---
## 💎 Process-Specific Add-ons (Optional Upgrades)
### Add-ons for Merging & MoE (Service B & C)
* **Add-on 1: Neural Deduplication (Same Neurons Removal)** * **Description:** Fusing and aligning overlapping embedding and self-attention weight parameters into a shared network trunk to reduce active parameter footprint. * **Price:** *Negotiable (Launch Promo Add-on)** **Add-on 2: GGUF Top-1 Gating Patch (MoE only)** * **Description:** Surgical byte patching of the GGUF router metadata to override gating from Top-2 to Top-1, reducing active inference parameters and cutting VRAM bandwidth usage in half. * **Price:** *Negotiable (Launch Promo Add-on)** **Add-on 3: Hardware Memory & RAM Optimization** * **Description:** Custom sharding thresholds and virtual memory page limits configured to run compiled models smoothly on client systems with limited hardware (e.g., 16GB RAM setups). * **Price:** *Negotiable (Launch Promo Add-on)*
### Add-ons for Quantization (Service D)
* **Add-on 4: Custom Domain Imatrix Calibration** * **Description:** Compiling an importance matrix (`.imatrix.dat`) using a curated, client-specific reference corpus (e.g., target API schemas, database layouts, mathematical expressions, or security logs) to minimize perplexity loss during quantization. * **Price:** *Negotiable (Launch Promo Add-on)** **Add-on 5: Custom Codec Preprocessing** * **Description:** Writing custom text-escapers and parsing scripts to prevent math and hex characters from triggering tokenization crashes during the calibration pipeline. * **Price:** *Negotiable (Launch Promo Add-on)*CUSTOM_CONTRACTS.mdAdded+59