Text Generation
Transformers
Safetensors
GGUF
English
small_lm
small-language-model
15m-parameters
from-scratch
laptop-gpu
math
gqa
swiglu
rope
rmsnorm
ollama
Instructions to use ParallaxOpen/Vela-15M-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ParallaxOpen/Vela-15M-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ParallaxOpen/Vela-15M-Preview")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ParallaxOpen/Vela-15M-Preview", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ParallaxOpen/Vela-15M-Preview 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 ParallaxOpen/Vela-15M-Preview:F16 # Run inference directly in the terminal: llama cli -hf ParallaxOpen/Vela-15M-Preview:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ParallaxOpen/Vela-15M-Preview:F16 # Run inference directly in the terminal: llama cli -hf ParallaxOpen/Vela-15M-Preview: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 ParallaxOpen/Vela-15M-Preview:F16 # Run inference directly in the terminal: ./llama-cli -hf ParallaxOpen/Vela-15M-Preview: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 ParallaxOpen/Vela-15M-Preview:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ParallaxOpen/Vela-15M-Preview:F16
Use Docker
docker model run hf.co/ParallaxOpen/Vela-15M-Preview:F16
- LM Studio
- Jan
- vLLM
How to use ParallaxOpen/Vela-15M-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ParallaxOpen/Vela-15M-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ParallaxOpen/Vela-15M-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ParallaxOpen/Vela-15M-Preview:F16
- SGLang
How to use ParallaxOpen/Vela-15M-Preview with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ParallaxOpen/Vela-15M-Preview" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ParallaxOpen/Vela-15M-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ParallaxOpen/Vela-15M-Preview" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ParallaxOpen/Vela-15M-Preview", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use ParallaxOpen/Vela-15M-Preview with Ollama:
ollama run hf.co/ParallaxOpen/Vela-15M-Preview:F16
- Unsloth Desktop
- Docker Model Runner
How to use ParallaxOpen/Vela-15M-Preview with Docker Model Runner:
docker model run hf.co/ParallaxOpen/Vela-15M-Preview:F16
- Lemonade
How to use ParallaxOpen/Vela-15M-Preview with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ParallaxOpen/Vela-15M-Preview:F16
Run and chat with the model
lemonade run user.Vela-15M-Preview-F16
List all available models
lemonade list
- Atomic Chat
Vela-Lumen-15M
A 15M-parameter math content generator trained from scratch on a single 8GB laptop GPU.
Note: This is a custom architecture. Use the provided GGUF files or
inference.pyfor inference.
Downloads
| Format | File | Size | How to Use |
|---|---|---|---|
| GGUF F16 | vela-lumen-15m-f16.gguf |
16 MB | Recommended — Works with Ollama, llama.cpp, LM Studio |
| Safetensors FP16 | model-fp16.safetensors |
15 MB | Half precision, Python |
| Safetensors FP32 | model.safetensors |
31 MB | Full precision, training |
Quick Start (Ollama)
wget https://huggingface.co/ParallaxOpen/Vela-Lumen-15M/resolve/main/vela-lumen-15m-f16.gguf
cat > Modelfile << 'EOF'
FROM vela-lumen-15m-f16.gguf
TEMPLATE "{{ .System }}{{ .Prompt }}"
SYSTEM "You are a math tutor."
EOF
ollama create vela-lumen-15m -f Modelfile
ollama run vela-lumen-15m
Capabilities
What it CAN do:
- Generate math word problems and solutions
- Generate math tutorials and explanations
- Text completion for math topics
- Attempt to answer simple questions
What it CAN'T do:
- Solve arithmetic reliably (0% GSM8K)
- Complex reasoning tasks
- Long-form coherent text
Best for:
- Math content generation
- Educational content creation
- Practice problem generation
- Text completion for math topics
Model Details
| Property | Value |
|---|---|
| Developer | ParallaxOpen |
| Parameters | 15,486,080 |
| Architecture | Transformer Decoder, GQA 4:2, SwiGLU, RMSNorm, RoPE |
| Context | 512 tokens |
| Vocab | 24,189 |
| License | CC BY-NC 4.0 |
Training
- Pretrain: 200K steps on 7B tokens (1.5B web + 5.6B math)
- SFT: 3K steps on 14K math problems
- Total: ~10 hours on RTX 5060
Architecture
| Component | Value |
|---|---|
| Layers | 6 |
| Hidden dim | 320 |
| Q heads | 4 |
| KV heads | 2 (GQA) |
| FFN dim | 1,024 (SwiGLU) |
| Norm | RMSNorm |
| Position | RoPE (theta=10,000) |
| Weight tying | Yes |
Citation
@software{vela-lumen-15m,
title={Vela-Lumen-15M: A 15M-param Math Content Generator},
author={ParallaxOpen},
year={2026},
note={Trained on a single RTX 5060 Laptop GPU in 10 hours}
}
- Downloads last month
- 118