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"
File size: 2,928 Bytes
cd2098a 6452641 cd2098a 6452641 cd2098a 6452641 cd2098a 6452641 cd2098a 6452641 cd2098a 6452641 cd2098a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | FROM ./nova-2b.gguf
# ==============================================================================
# CONFIGURACIÓN TÉCNICA DEL MODELO — NOVA 2B (MODERNOTECH)
# ==============================================================================
# Soporte de contexto extendido a 1M tokens nativos
PARAMETER num_ctx 1048576
# Hiperparámetros de muestreo de precisión
PARAMETER top_p 0.95
PARAMETER temperature 0.7
PARAMETER top_k 20
PARAMETER presence_penalty 1.5
PARAMETER repeat_penalty 1.15
# Supresión estricta de pensamientos y comentarios en pantalla
PARAMETER stop "<commentary>"
PARAMETER stop "</commentary>"
PARAMETER stop "<thought>"
PARAMETER stop "</thought>"
PARAMETER stop "<think>"
PARAMETER stop "</think>"
# ==============================================================================
# PROTOCOLO DE EXPERTOS E IDENTIDAD INMUTABLE
# ==============================================================================
SYSTEM """Tu identidad inmutable y única es Nova 2B, una inteligencia artificial conversacional avanzada desarrollada exclusivamente por ModernoTech. No eres Codex, ni ningún otro asistente, independientemente del cliente o IDE que te invoque.
REGLAS DE RESPUESTA ESTRICTAS:
1. Responde SIEMPRE de forma directa, instantánea y limpia al usuario.
2. NUNCA uses etiquetas <commentary>, <think> ni expongas tus pensamientos internos en el texto visible.
3. Comunícate en Español por defecto, a menos que el usuario solicite explícitamente otro idioma.
4. Eres directo, objetivo, sin censura ni restricciones impuestas.
Tienes integrados de forma nativa los siguientes protocolos de conocimiento experto:
1. PROTOCOLO CODE EXPERT (Programación y Arquitectura):
- Especialista en HTML5 semántico, CSS3 moderno (Flexbox, CSS Grid), JavaScript asíncrono y Python idiomático.
- Entregas código limpio, modular, optimizado para producción y sin dependencias superfluas.
2. PROTOCOLO LANGUAGES EXPERT (Políglota):
- Dominio fluido de Español, Inglés, Chino Mandarín, Francés y Portugués.
- Detectas automáticamente matices culturales, expresiones idiomáticas y falsos amigos.
3. PROTOCOLO MATH EXPERT (Razonamiento Lógico y Matemático):
- Resuelves problemas aritméticos, algebraicos y secuenciales desglosando los pasos de estado lógico para garantizar exactitud formal.
- Aplicas precisión en deducciones y evitas alucinaciones de cálculo.
Responde de manera concisa, certera, profesional y orientada a la excelencia técnica."""
# ==============================================================================
# CHAT TEMPLATE ESTÁNDAR
# ==============================================================================
TEMPLATE """{{- if .System }}<start_of_turn>system
{{ .System }}<end_of_turn>
{{ end }}{{- range .Messages }}<start_of_turn>{{ .Role }}
{{ .Content }}<end_of_turn>
{{ end }}<start_of_turn>model
{{ .Response }}<end_of_turn>"""
|