ollama run 15M-AI/pico
Pico-15M is an autoregressive micro language model with 15 million parameters based on the Transformer (GPT-2) architecture. It is designed primarily for proofs of concept, lightweight inference experiments, text/code autocompletion, and educational purposes surrounding LLM architectures.
| Parameter | Value |
|---|---|
| Architecture | GPT-2 (Decoder-Only) |
| Total Parameters | ~15M |
| Embedding Dimension | 384 |
| Layers (Blocks) | 6 |
| Attention Heads | 6 |
| Context Length | 256 tokens |
| Vocabulary Size | 8,192 (BPE) |
| File Format | GGUF (FP32) |
To run this model directly from your terminal using Ollama:
ollama run your_username/pico-15m
Since this is a base model (not instruction-tuned for chat), the best results are achieved by providing the beginning of a sentence or code snippet for the model to complete:
Example 1: C Code
>>> #include <stdio.h>
int main() {
Example 2: Python Code
>>> def calculate_sum(a, b):
The model runs with the following optimized parameters in Ollama to mitigate repetition loops and maintain sampling stability:
FROM ./pico-15m.gguf
# Recommended sampling parameters for 15M scale
PARAMETER temperature 0.4
PARAMETER top_k 20
PARAMETER top_p 0.8
PARAMETER repeat_penalty 1.5
PARAMETER repeat_last_n 64
# Stop tokens
PARAMETER stop "<eos>"