Instructions to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M 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 KyleDeanML/MNIME-Core-1.5B-Q4_K_M 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 KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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 KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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 KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
Use Docker
docker model run hf.co/KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with Ollama:
ollama run hf.co/KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
- Unsloth Desktop
- Pi
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with Docker Model Runner:
docker model run hf.co/KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
- Lemonade
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
Run and chat with the model
lemonade run user.MNIME-Core-1.5B-Q4_K_M-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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 KyleDeanML/MNIME-Core-1.5B-Q4_K_M:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use KyleDeanML/MNIME-Core-1.5B-Q4_K_M with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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 "KyleDeanML/MNIME-Core-1.5B-Q4_K_M: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"
MULTIMODAL NEURAL INTERFACE MACHINE EXTENSION
nigh.mh
A modern, private, ultra-fast desktop interface with a fine-tuned local NLP engine built in. Engineered with Python and PyQt6, MNIME runs 100% locally and offline on your machine with zero cloud dependencies or data uploads, delivering conversation and document intelligence directly over your files.
Specification Sheet & User Manual
Specification Sheet & User Manual β 14 sections covering all features, technical specs, architecture, NLP engine details, UI guide, installation, keyboard shortcuts, performance notes, dependency stack, error handling, and changelog.
Key Features
1. Document & File Processing Suite
- Combine PDF: Select up to 5,000 PDF and image files, drag and drop to reorder, and merge sequentially into a unified document.
- Edit Suite (Images & PDFs): Visually crop and rotate images and all pages within PDF documents seamlessly in-app.
- JPG to PDF: Convert image formats (
.jpg,.jpeg,.png,.webp,.bmp) into crisp, vector-scaled PDFs. - TXT to PDF: Rapidly render raw text documents into formatted, searchable PDF files.
- PDF to JPG: Extract all pages from a PDF document into high-resolution JPG images.
- Split PDF: Separate multi-page PDFs with NLP-powered Smart Naming that analyzes page content to generate unique filenames.
- Compress PDF: Optimize and reduce PDF file size by compressing content streams and duplicate objects.
- PDF to DOCX: Reconstruct PDF layouts into fully editable Word documents.
- Semantic Bookmarks: Intelligently analyze PDF typography and leverage the bundled NLP engine to generate context-aware chapter summaries.
2. Local Intelligence & RAG Engine
- Local NLP Engine: Query across all open documents locally using the fine-tuned
MNIME-Core-V5-Q4_K_M.ggufmodel with zero network traffic. - LoRA Adapter Loading: Load an optional LoRA adapter (
.gguf) on top of the base model from the LORA button in the NLP view (right-click to remove). The model reloads in the background. - Semantic Search (RAG): Fast vector search powered by FAISS embeddings (
bge-small-en-v1.5). - Persistent Global Vector Store: Every indexed document is also saved to a global FAISS store in
%LOCALAPPDATA%\MNIME\global_vector_store. Chat queries pull relevant passages from it, so documents from earlier sessions can inform answers. - System Resource Purger: On exit, unloads the LLM (freeing VRAM), releases the vector store from memory, and removes leftover
*.tmp/*.tmp.pdffiles. - Document Cross-Referencing: Highlight sections in a document to synthesize an automated comparative brief against other open files.
- Translucent Pop-Out Console: Double-click the NLP console to spawn a magnetic, translucent floating chat window synchronized with the primary window.
3. Visual & Aesthetic Architecture
- Free-Floating Dark Metallic Interface: Frameless obsidian and brushed gunmetal theme built with native PyQt6 styling.
- 5D Penteract Visual Branding: Procedurally rendered 5D Penteract projection with true depth-sorting and an independently orbiting 3D element.
- Interactive Gallery Carousel: Horizontal file card slider featuring drag-and-drop reordering, status overlays, and thumbnail pre-rendering.
- Custom File Explorer: Fully integrated PyQt6 file dialog replacing generic OS file pickers to maintain dark metallic UI consistency.
- Cinematic Transitions & VFX: Real-time particle physics simulation during background operations with smooth screen-flash transitions.
4. Engine & Performance Optimizations
- C-Accelerated PyMuPDF Core: Native C-level document operations executing up to 50x faster than pure-Python libraries.
- O(1) Carousel Indexing: Surgical layout reordering without tearing down or recreating UI widgets.
- Dynamic Memory Management: Unloads LLM weights and vector indices from RAM/VRAM when NLP mode is toggled off or on exit.
- Non-Blocking Multithreading: Smooth 60 FPS UI performance backed by dedicated
QThreadworkers and progress tracking. - In-Memory Pixmap Caching: SVG vector icons and card thumbnails are rasterized and pre-scaled once to eliminate CPU resampling overhead.
Fine-Tuned NLP Model β MNIME-Core
MNIME-Core-V5-Q4_K_M.gguf is an advanced multi-stage aligned model derived from Qwen2.5-1.5B-Instruct, specialized for high-density document synthesis, cross-referencing, philosophical reasoning, and empathetic anti-bias dialogue.
Multi-Stage Alignment Evolution
MNIME-Core represents the culmination of a three-stage progressive alignment pipeline combining local LoRA adaptation, high-compute cloud fine-tuning, and full-precision tensor assimilation:
- Stage 1 (V3 Foundational Synthesis & Extraction): Trained locally on
training/mnime_v3_dataset_clean.jsonl(5,482 curated pairs merging Databricks Dolly 15k subsets with identity-preserving weights). Establishes deep document comprehension, closed QA, structured entity extraction, and prompt grounding. - Stage 2 (V4 Philosophical Depth & Adversarial Robustness): Trained on high-VRAM cloud compute using
training/mnime_v4_philosophy_dataset_clean.jsonl(15,000 synthetic examples). Embeds ontological reasoning (Stoicism, Existentialism), dialectical resilience, prompt-injection immunity, and hallucination counter-traps. - Stage 3 (V5 Ethics, Empathy, & Anti-Bias Alignment): Synthesized and aligned using
training/mnime_v5_antibias_dataset_clean.jsonl(20,000 examples). Rather than issuing evasive, canned refusal templates, MNIME-Core actively and objectively deconstructs hate tropes and demographic stereotypes using sociological evidence, empirical logic, and empathetic dialectics. - Model Distribution & Formats: Available in multiple precision targets, including full fp16 HuggingFace checkpoints, high-fidelity
MNIME-Core-V5-Q8_0.gguf(1.64 GB), and production-optimizedMNIME-Core-V5-Q4_K_M.gguf(~1.0 GB) for ultra-fast local inference. - Hardware Acceleration: Automatically offloads computation layers to available GPU VRAM (NVIDIA CUDA / Vulkan / Metal) via
llama-cpp-python, with graceful CPU fallback.
The Neural Assimilation Engine (NAE)
MNIME is not a static interfaceβit is built to evolve dynamically. While MNIME-Core operates as a rigorous logical scribe and analytical assistant, the built-in Neural Assimilation Engine (core/fusion_engine.py) allows operators to continually fuse external specialized domain capabilities into the application.
Using advanced weight-fusion algorithms (such as TIES-merging and linear task-vector interpolation), the engine isolates high-value parameter deltas from donor models (e.g., medical diagnostics, legal analysis, or specialized coding assistants) and injects them into the base matrix without overwriting core logical foundations or inducing catastrophic forgetting.
Full-Precision Streaming Architecture:
The Assimilation Engine merges tensor-by-tensor directly on full-precision (fp16/bf16) HuggingFace safetensors model directories (such as training/v4_out/MNIME-Core-V4-merged). Operating in full floating-point precision preserves subtle gradient vectors that would otherwise be destroyed by 4-bit quantization. Once fused, the resulting model folder is seamlessly converted via llama.cpp to GGUF format (Q8_0 or Q4_K_M) for deployment in MNIME.
Setup & Installation
Option A β One-Click Automated Local Installer (Recommended)
Run install_mnime.bat directly from the repository root:
install_mnime.bat
How it works:
- Automated Stale-Build Check: Compares source file timestamps (
core/andui/) against existing compiled binaries. - Auto-Compilation: Automatically invokes
build_app.batto compile PyInstaller binaries and the custom PyQt6 installer if source files have updated or binaries are missing. - Application Deployment: Copies application files to
%LOCALAPPDATA%\Programs\MNIME. - Windows System Integration: Creates Desktop and Start Menu shortcuts (
MNIME.lnk), configures PDF document file associations, and registers an entry in Windows Add/Remove Programs with a clean uninstaller (uninstall.bat).
(Note: Pre-compiled binary executables are git-ignored and built locally on your machine via install_mnime.bat or build_app.bat.)
Option B β Run from Source
1. Clone & Place Model
Download MNIME-Core-V5-Q4_K_M.gguf from Hugging Face into the models/ folder:
models/MNIME-Core-V5-Q4_K_M.gguf
2. Virtual Environment Setup
Run setup.bat to initialize the Python virtual environment and install all dependencies:
setup.bat
3. Launch Application
Execute run.bat or run directly via Python:
run.bat
Or manually:
.venv\Scripts\python.exe MNIME.py
4. Run Tests To run the automated test suite:
run_tests.bat
Building the Application
Run build_app.bat (requires PyInstaller):
build_app.bat
Build Workflow:
- Validates
.venvenvironment and installs build packages. - Compiles
MNIME.pyinto a standalone binary payload (dist/MNIME/) viaMNIME.spec. - Compiles custom installer
installer/MNIME_installer.exeviaMNIME_installer.specandcustom_installer.py.
Project Architecture
Project Architecture & Subsystem Schematics β 4-page system architecture manual detailing the 4-layer decoupled topology, 60 FPS non-blocking
QThreadconcurrency, the Neural Assimilation Engine (TIES model merging), and dual-tier FAISS vector memory.
Expand Repository Directory Tree
MNIME/
βββ core/ # Core processing engine
β βββ __init__.py
β βββ app_icon.py # Win32 icons & window properties
β βββ fallback_responses.py # Zero-shot conversational fallback responses
β βββ file_item.py # Data model & thumbnail caching
β βββ fusion_engine.py # Neural Assimilation Engine (Weight Fusion)
β βββ ipc.py # Single-instance IPC mechanism
β βββ logging_setup.py # Application logging setup
β βββ nlp_engine.py # GGUF model integration via llama-cpp
β βββ pdf_engine.py # PyMuPDF engine, DOCX & image conversion
β βββ print_engine.py # High-DPI printing & rendering
β βββ search_engine.py # FAISS vector indexing & RAG retrieval
β βββ system_cleaner.py # Memory cache, VRAM & temp resource purger
β βββ text_safety.py # Prompt parsing & text sanitization
β βββ version.py # Application version constants
β βββ windows_integration.py # Windows taskbar & OS integrations
β βββ worker.py # Asynchronous QThread background worker
βββ models/ # Local GGUF model directory
β βββ MNIME-Core-V5-Q4_K_M.gguf
βββ ui/ # Desktop GUI components (PyQt6)
β βββ __init__.py
β βββ action_bar.py # Action buttons & task progress bar
β βββ carousel_view.py # Horizontal file gallery slider
β βββ cursor_fx.py # Custom particle cursor effects
β βββ document_viewer.py # Canvas renderer for documents
β βββ file_card.py # Interactive card widget for queued files
β βββ file_dialog.py # Dark metallic custom file browser
β βββ icons.py # Vector SVG icon manager
β βββ image_editor.py # Image visual editing interface
β βββ main_window.py # Primary application window coordinator
β βββ merge_particles.py # Physics-based vortex & particle VFX
β βββ minimize_animation.py # Window minimize animations
β βββ nlp_view.py # Local RAG & NLP chat console
β βββ output_view.py # Real-time execution log console
β βββ pdf_editor.py # Visual PDF page editor suite
β βββ reader_dialog.py # Independent frameless document reader
β βββ nerds.py # Real-time telemetry & performance HUD
β βββ tabs_bar.py # Application navigation bar
βββ docs/ # Media & cover artwork assets
β βββ architecture_cover.png # System Architecture preview cover
β βββ changelog_cover.png # Interactive change log preview cover
β βββ paper_cover.png # Research paper preview cover
β βββ spec_cover.png # Specification sheet preview cover
βββ paper/ # Research paper LaTeX source & PDF
β βββ MNIME_paper.pdf # Compiled research paper
β βββ MNIME_paper.tex # LaTeX manuscript source
β βββ acl.sty # ACL formatting style sheet
β βββ acl_natbib.bst # ACL bibliography style sheet
β βββ mnime_refs.bib # Citation database
β βββ template_ref.tex # Reference template
βββ scripts/ # Utility & PDF generation scripts
β βββ fetch_models.py # Automated model downloader
β βββ generate_architecture_pdf.py # Dynamic Architecture PDF generator
β βββ generate_changelog_pdf.py # Dynamic Change Log PDF & cover generator
β βββ generate_mnime_pdf.py # Specification manual PDF generator
βββ tests/ # Automated test suite
β βββ test_fusion_engine.py
β βββ test_ipc_parse.py
β βββ test_nlp_conversational_fallback.py
β βββ test_nlp_indexing.py
β βββ test_nlp_sanitize.py
β βββ test_pdf_engine.py
β βββ test_print_engine.py
β βββ test_stats_telemetry.py
β βββ test_windows_integration.py
βββ training/ # Neural fine-tuning, datasets & assimilation
β βββ clean_v4_dataset.py
β βββ generate_v4_philosophy_dataset.py
β βββ generate_v5_antibias_dataset.py
β βββ merge_v4.py
β βββ mnime_v3_dataset_clean.jsonl
β βββ mnime_v4_philosophy_dataset_clean.jsonl
β βββ mnime_v5_antibias_dataset_clean.jsonl
β βββ train_mnime.py
β βββ v4_out/ # Merged fp16 HF weights, F16 GGUF & Q8_0 GGUF
βββ CHANGE_LOG.txt # Comprehensive forensic build & session change log
βββ MNIME_Architecture.pdf # Interactive system architecture & schematics
βββ MNIME_Change_Log.pdf # Interactive compiled change log & build history
βββ MNIME_paper.pdf # Research paper PDF
βββ MNIME_Spec_Manual.pdf # Specification & user manual PDF
βββ MN.ico # Multi-resolution application icon
βββ MNIME.py # Application entry point
βββ custom_installer.py # Standalone PyQt6 installer UI
βββ MNIME.spec # Main application PyInstaller spec
βββ MNIME_installer.spec # Custom installer PyInstaller spec
βββ benchmark.py # Standalone empirical NLP benchmarking tool
βββ build_app.bat # Master compilation & packaging script
βββ install_mnime.bat # One-click local installer script
βββ run.bat # Launch application script
βββ run_tests.bat # Test runner script
βββ setup.bat # Virtual environment initialization script
βββ update_changelog.bat # Script to update changelog
βββ pyproject.toml # Build system configuration
βββ requirements.txt # Python dependency specifications
βββ version_info.txt # Version build details
βββ LICENSE # MIT Open Source License
βββ README.md # Project documentation
Empirical Benchmarking & Telemetry HUD
MNIME includes a telemetry dashboard and benchmarking suite (ui/nerds.py & benchmark.py) for analyzing on-device model performance and document processing throughput:
- Translucent HUD: Accessible via the
STATStab or directly via.venv\Scripts\python.exe benchmark.py. - 60 FPS Real-Time Vector Charts: Live rendering of token throughput (tokens/sec), inter-token latency (ms), and memory allocation (RAM working set in MB).
- Multi-Metric Telemetry: Benchmarks prompt prefill processing, time-to-first-token (TTFT), sustained text generation, PyMuPDF page rasterization rate, and FAISS retrieval latency.
- Benchmark Replication: Ground empirical metrics locally with exportable JSON benchmark records.
Research Paper
MNIME Research Paper β Details the system architecture, model fine-tuning methodology, RAG search engine implementation, empirical performance benchmarks, and privacy-first design principles.
Build Process & Change Log
MNIME Build Process & Change Log β The complete engineering lifecycle from initial repository genesis through 5D vector mathematics, local neural engine integration, standalone custom animated PyQt6 installer packaging, and forensic IDE conversation sessions.
License
Distributed under the MIT License. See LICENSE for complete licensing terms.
Special thanks to the Antigravity team at Google
- Downloads last month
- 94
4-bit