15M-AI/ pico:latest

18 1 month ago

ollama run 15M-AI/pico

Details

1 month ago

a7bb4db124ec ยท 68MB

gpt2
ยท
17M
{ "repeat_last_n": 64, "repeat_penalty": 1.5, "stop": [ "<eos>" ], "temp

Readme

IMG-20261004-WA8408.jpg

Pico-15M

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.


๐Ÿ“Š Model Specifications

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)

๐Ÿš€ Quick Start with Ollama

To run this model directly from your terminal using Ollama:

ollama run your_username/pico-15m

Prompting Examples

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):

โš™๏ธ Modelfile Configuration

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>"

โš ๏ธ Capabilities & Limitations

  • Intended Use: Research, integration testing in constrained environments, latency benchmarking, and simple text completion.
  • Base Model Nature: It does not behave like a standard conversational assistant (e.g., ChatGPT) unless Supervised Fine-Tuning (SFT) is applied.
  • Capacity Bounds: Due to its ultra-compact scale (15M parameters), the model may exhibit hallucinations or lose semantic coherence over longer contexts.

๐Ÿ“„ License and Author

  • Creator: Diego (15M AI)
  • License: Apache-2.0 (Free for modification and distribution)