Text Generation
GGUF
nova-2b
modernotech
nova-ai
custom-architecture
conversational
uncensored
1m-context
imatrix
Instructions to use ModernoTech/nova-2b 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 ModernoTech/nova-2b 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 ModernoTech/nova-2b # Run inference directly in the terminal: llama cli -hf ModernoTech/nova-2b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ModernoTech/nova-2b # Run inference directly in the terminal: llama cli -hf ModernoTech/nova-2b
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 ModernoTech/nova-2b # Run inference directly in the terminal: ./llama-cli -hf ModernoTech/nova-2b
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 ModernoTech/nova-2b # Run inference directly in the terminal: ./build/bin/llama-cli -hf ModernoTech/nova-2b
Use Docker
docker model run hf.co/ModernoTech/nova-2b
- LM Studio
- Jan
- vLLM
How to use ModernoTech/nova-2b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ModernoTech/nova-2b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ModernoTech/nova-2b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ModernoTech/nova-2b
- Ollama
How to use ModernoTech/nova-2b with Ollama:
ollama run hf.co/ModernoTech/nova-2b
- Unsloth Desktop
- Pi
How to use ModernoTech/nova-2b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ModernoTech/nova-2b
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": "ModernoTech/nova-2b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ModernoTech/nova-2b with Docker Model Runner:
docker model run hf.co/ModernoTech/nova-2b
- Lemonade
How to use ModernoTech/nova-2b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ModernoTech/nova-2b
Run and chat with the model
lemonade run user.nova-2b-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use ModernoTech/nova-2b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ModernoTech/nova-2b
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 ModernoTech/nova-2b
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ModernoTech/nova-2b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ModernoTech/nova-2b
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 "ModernoTech/nova-2b" \ --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 README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Nova AI — Arquitectura Híbrida Oficial (ModernoTech)
|
| 2 |
+
|
| 3 |
+
[](LICENSE)
|
| 4 |
+
[](docs/NOVA_GGUF_SPEC.md)
|
| 5 |
+
[](#arquitectura-técnica)
|
| 6 |
+
[](#especificaciones-técnicas)
|
| 7 |
+
|
| 8 |
+
**Nova AI** es una inteligencia artificial conversacional e híbrida desarrollada por **ModernoTech**, concebida para ser **ultrapotente en relación con su tamaño, ultracompacta, ultraligera y con arquitectura de auto-mejora continua**.
|
| 9 |
+
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
## 💡 Concepto Fundamental
|
| 13 |
+
|
| 14 |
+
Nova AI rompe la dependencia absoluta de los LLMs gigantes. En su lugar, distribuye la inteligencia en tres pilares:
|
| 15 |
+
|
| 16 |
+
```text
|
| 17 |
+
NOVA AI
|
| 18 |
+
│
|
| 19 |
+
┌────────────────┴────────────────┐
|
| 20 |
+
▼ ▼
|
| 21 |
+
[ NOVA NATIVE ] [ NOVA 2B LLM ]
|
| 22 |
+
100% Integer & Ternary {-1,0,1} Inferencia GGUF Universal
|
| 23 |
+
│ (LM Studio, Ollama, llama.cpp)
|
| 24 |
+
┌──────────────┼──────────────┐
|
| 25 |
+
▼ ▼ ▼
|
| 26 |
+
[MoCE Experts] [User Memory] [Nova RAG FTS5]
|
| 27 |
+
│
|
| 28 |
+
▼
|
| 29 |
+
[Self-Improvement Engine]
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
1. **Nova Native (100% Entero y Ternario):** Computación en pesos ternarios empaquetados (2 bits por peso) con acumuladores `Int32` y activaciones `Int16`. Cero uso de `float` en operaciones críticas.
|
| 33 |
+
2. **Mixture of Code-Experts (MoCE):** Expertos modulares en Python con conocimiento estructurado persistente en SQLite (`storage/knowledge.db`):
|
| 34 |
+
- **`CodeExpert`**: HTML5, CSS3, JavaScript, Python.
|
| 35 |
+
- **`LanguagesExpert`**: Chino Mandarín, Inglés, Francés, Portugués, Español.
|
| 36 |
+
- **`MathExpert`**: Álgebra lineal, cálculo, probabilidad y lógica.
|
| 37 |
+
3. **RAG Ultraligero SQLite FTS5:** Búsqueda léxica con ranking BM25 sin necesidad de bases vectoriales pesadas.
|
| 38 |
+
4. **Self-Improvement Engine:** Detecta debilidades, autopsia de errores, genera ejercicios sintéticos de práctica, verifica resultados y consolida mejoras en disco de forma autónoma.
|
| 39 |
+
5. **Nova 2B LLM (GGUF):** Actúa como motor de razonamiento de respaldo y profesor para sintetizar conocimiento nuevo.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## 🚀 Despliegue Rápido
|
| 44 |
+
|
| 45 |
+
### Opción 1: Modelo GGUF Universal (LM Studio / Ollama / llama.cpp)
|
| 46 |
+
El archivo `nova-2b.gguf` puede ejecutarse directamente en cualquier cliente compatible con GGUF:
|
| 47 |
+
- **LM Studio:** Importar `nova-2b.gguf` y cargar el preset [model_preset.json](model_preset.json).
|
| 48 |
+
- **Ollama:**
|
| 49 |
+
```bash
|
| 50 |
+
ollama create nova-2b -f Modelfile
|
| 51 |
+
ollama run nova-2b
|
| 52 |
+
```
|
| 53 |
+
- **llama.cpp:**
|
| 54 |
+
```bash
|
| 55 |
+
./llama-server -m nova-2b.gguf -c 1048576 --temp 0.8 --top-p 0.95
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
### Opción 2: Nova AI Framework Completo (MoCE + RAG + Auto-Mejora)
|
| 59 |
+
Ejecuta la consola interactiva con todas las capas activadas:
|
| 60 |
+
```bash
|
| 61 |
+
python3 nova_core.py
|
| 62 |
+
```
|
| 63 |
+
- Escribe preguntas técnicas o habla cotidianamente.
|
| 64 |
+
- Para enseñar: `Aprende esto: <hecho nuevo>`
|
| 65 |
+
- Para forzar auto-mejora: `/improve`
|
| 66 |
+
- Para ver rendimiento por habilidad: `/skills`
|
| 67 |
+
- Para ver estadísticas: `/stats`
|
| 68 |
+
|
| 69 |
+
### Opción 3: Servidor API Compatible con OpenAI
|
| 70 |
+
Levanta el endpoint HTTP local en el puerto 8080:
|
| 71 |
+
```bash
|
| 72 |
+
python3 nova_server.py
|
| 73 |
+
```
|
| 74 |
+
- **Endpoint:** `http://127.0.0.1:8080/v1/chat/completions` (compatible con Open WebUI, Cursor, VS Code).
|
| 75 |
+
- **Estado:** `http://127.0.0.1:8080/status`
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## 🧪 Auditorías y Pruebas Unitarias
|
| 80 |
+
|
| 81 |
+
Nova AI cuenta con un riguroso sistema de pruebas y auditoría automática:
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
# 1. Auditoría estricta Integer-Only / Ternary (falla si detecta float):
|
| 85 |
+
python3 nova_auditor.py
|
| 86 |
+
|
| 87 |
+
# 2. Suite de pruebas unitarias completas:
|
| 88 |
+
python3 -m unittest tests/test_nova_suite.py
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
## 📄 Especificación de Metadatos
|
| 94 |
+
Para consultar el estándar de metadatos propios de Nova incrustados en GGUF, revisa [docs/NOVA_GGUF_SPEC.md](docs/NOVA_GGUF_SPEC.md).
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## 📜 Licencia y Autoría
|
| 99 |
+
|
| 100 |
+
Copyright (c) 2026 **ModernoTech / José Luis Brea**.
|
| 101 |
+
Distribuido bajo la Licencia MIT. Consulta el archivo [LICENSE](LICENSE) para más detalles.
|