How to use from
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 TLNKhanh/tinystories-instruct:F16
# Run inference directly in the terminal:
llama cli -hf TLNKhanh/tinystories-instruct:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf TLNKhanh/tinystories-instruct:F16
# Run inference directly in the terminal:
llama cli -hf TLNKhanh/tinystories-instruct:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf TLNKhanh/tinystories-instruct:F16
# Run inference directly in the terminal:
./build/bin/llama cli -hf TLNKhanh/tinystories-instruct:F16
Use Docker
docker model run hf.co/TLNKhanh/tinystories-instruct:F16
Quick Links

tinystories-instruct

The instruction-tuned version of a 29.5M-parameter GPT trained from scratch on TinyStories V2, then fine-tuned for 6,530 steps on 55k instruction examples (Dolly 15k, Tulu-3, smol-constraints, OpenHermes) with 10% story replay.

Ollama

ollama pull hf.co/TLNKhanh/tinystories-instruct
ollama run hf.co/TLNKhanh/tinystories-instruct "What is the capital of France?"

The repo includes Ollama template and params files; no Modelfile needed. Prompts are wrapped in ### Instruction: ... ### Response: automatically by the template. Keep prompts short β€” context is 256 tokens.

This is a very small model (29.5M params). It follows the instruction format and answers simple factual questions, but don't expect depth or reasoning. For serious use, pick a larger model.

Base model: https://huggingface.co/TLNKhanh/tinystories

Downloads last month
129
GGUF
Model size
29.5M params
Architecture
gpt2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support