Instructions to use TLNKhanh/tinystories-instruct 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 TLNKhanh/tinystories-instruct 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 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
- Llama new
- LM Studio
- Jan
- vLLM
How to use TLNKhanh/tinystories-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TLNKhanh/tinystories-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TLNKhanh/tinystories-instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TLNKhanh/tinystories-instruct:F16
- Ollama
How to use TLNKhanh/tinystories-instruct with Ollama:
ollama run hf.co/TLNKhanh/tinystories-instruct:F16
- Unsloth Desktop
- Docker Model Runner
How to use TLNKhanh/tinystories-instruct with Docker Model Runner:
docker model run hf.co/TLNKhanh/tinystories-instruct:F16
- Lemonade
How to use TLNKhanh/tinystories-instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TLNKhanh/tinystories-instruct:F16
Run and chat with the model
lemonade run user.tinystories-instruct-F16
List all available models
lemonade list
- Atomic Chat
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
- 116
16-bit