Instructions to use Ilides/cortex-0.3-0.02b-gguf 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 Ilides/cortex-0.3-0.02b-gguf 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 Ilides/cortex-0.3-0.02b-gguf:F16 # Run inference directly in the terminal: llama cli -hf Ilides/cortex-0.3-0.02b-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Ilides/cortex-0.3-0.02b-gguf:F16 # Run inference directly in the terminal: llama cli -hf Ilides/cortex-0.3-0.02b-gguf:F16
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 Ilides/cortex-0.3-0.02b-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf Ilides/cortex-0.3-0.02b-gguf:F16
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 Ilides/cortex-0.3-0.02b-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Ilides/cortex-0.3-0.02b-gguf:F16
Use Docker
docker model run hf.co/Ilides/cortex-0.3-0.02b-gguf:F16
- LM Studio
- Jan
- vLLM
How to use Ilides/cortex-0.3-0.02b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ilides/cortex-0.3-0.02b-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ilides/cortex-0.3-0.02b-gguf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Ilides/cortex-0.3-0.02b-gguf:F16
- Ollama
How to use Ilides/cortex-0.3-0.02b-gguf with Ollama:
ollama run hf.co/Ilides/cortex-0.3-0.02b-gguf:F16
- Unsloth Desktop
- Docker Model Runner
How to use Ilides/cortex-0.3-0.02b-gguf with Docker Model Runner:
docker model run hf.co/Ilides/cortex-0.3-0.02b-gguf:F16
- Lemonade
How to use Ilides/cortex-0.3-0.02b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ilides/cortex-0.3-0.02b-gguf:F16
Run and chat with the model
lemonade run user.cortex-0.3-0.02b-gguf-F16
List all available models
lemonade list
- Atomic Chat
cortex-0.3-0.02b · GGUF (llama.cpp)
Formato GGUF de Ilides/cortex-0.3-0.02b (20.6 M parámetros, arquitectura cortex), generado con gguf-py y verificado leyéndolo de vuelta con GGUFReader.
Archivos
| Fichero | Tamaño | Cuantización |
|---|---|---|
cortex-0.3-0.02b-f16.gguf |
41.9 MB | F16 |
cortex-0.3-0.02b-q8_0.gguf |
22.5 MB | Q8_0 (8 bits, bloques de 32) |
⚠️ Requiere un port de arquitectura en llama.cpp
El archivo es un GGUF válido (arch=cortex, ctx=512, layers=6, vocab BPE completo de 16384 tokens con merges y tipos, tokenizer.ggml.pre=cortex), pero llama.cpp upstream aún no conoce la arquitectura cortex (RMSNorm + SwiGLU + posiciones aprendidas sin RoPE). Para ejecutarlo hay que añadir el modelo según la guía oficial: https://github.com/ggml-org/llama.cpp/discussions/16770
Mientras tanto, la ruta ejecutable oficial es el repo MLX: Ilides/cortex-0.3-0.02b-mlx, o bien el repo base con PyTorch/transformers.
Verificación (hecha en la exportación)
Lectura de vuelta con GGUFReader:
- metadatos:
general.architecture=cortex,context_length=512,block_count=6 - tokenizer:
model=bpe,pre=cortex, 16384 tokens y 16119 merges idénticos al tokenizer original, tipos (NORMAL/CONTROL/BYTE) idénticos - los 45 tensores dequantizados contra los pesos F32 originales con tolerancia
max(atol, rtol·max|peso|):- F16: peor err/tol = 0.754 (< 1 ⇒ OK)
- Q8_0: peor err/tol = 0.946 (< 1 ⇒ OK)
Tensores
token_embd.weight, position_embd.weight, output_norm.weight y por capa blk.{i}.{attn_norm,ffn_norm}.weight, blk.{i}.attn.{qkv,proj}.weight, blk.{i}.ffn.{gate,up,down}.weight (orientación llama.cpp: salida × entrada).
- Downloads last month
- 92
8-bit
16-bit
Model tree for Ilides/cortex-0.3-0.02b-gguf
Base model
Ilides/cortex-0.3-0.02b