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 — 14 sections covering all features, technical specs, architecture, NLP engine details, UI guide, installation, keyboard shortcuts, performance notes, dependency stack, error handling, and changelog.
.jpg, .jpeg, .png, .webp, .bmp) into crisp, vector-scaled PDFs.MNIME-Core-V5-Q4_K_M.gguf model with zero network traffic..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.bge-small-en-v1.5).%LOCALAPPDATA%\MNIME\global_vector_store. Chat queries pull relevant passages from it, so documents from earlier sessions can inform answers.*.tmp / *.tmp.pdf files.QThread workers and progress tracking.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.
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:
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.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.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.MNIME-Core-V5-Q8_0.gguf (1.64 GB), and production-optimized MNIME-Core-V5-Q4_K_M.gguf (~1.0 GB) for ultra-fast local inference.llama-cpp-python, with graceful CPU fallback.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.
Run install_mnime.bat directly from the repository root:
install_mnime.batHow it works:
core/ and ui/) against existing compiled binaries.build_app.bat to compile PyInstaller binaries and the custom PyQt6 installer if source files have updated or binaries are missing.%LOCALAPPDATA%\Programs\MNIME.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.)
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.gguf2. Virtual Environment Setup
Run setup.bat to initialize the Python virtual environment and install all dependencies:
setup.bat3. Launch Application
Execute run.bat or run directly via Python:
run.batOr manually:
.venv\Scripts\python.exe MNIME.py4. Run Tests To run the automated test suite:
run_tests.batRun build_app.bat (requires PyInstaller):
build_app.batBuild Workflow:
.venv environment and installs build packages.MNIME.py into a standalone binary payload (dist/MNIME/) via MNIME.spec.installer/MNIME_installer.exe via MNIME_installer.spec and custom_installer.py.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.
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 documentationMNIME includes a telemetry dashboard and benchmarking suite (ui/nerds.py & benchmark.py) for analyzing on-device model performance and document processing throughput:
STATS tab or directly via .venv\Scripts\python.exe benchmark.py.MNIME Research Paper — Details the system architecture, model fine-tuning methodology, RAG search engine implementation, empirical performance benchmarks, and privacy-first design principles.
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.
Distributed under the MIT License. See LICENSE for complete licensing terms.
Special thanks to the Antigravity team at Google