Instructions to use navthings/lilstory 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 navthings/lilstory 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 navthings/lilstory # Run inference directly in the terminal: llama cli -hf navthings/lilstory
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf navthings/lilstory # Run inference directly in the terminal: llama cli -hf navthings/lilstory
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 navthings/lilstory # Run inference directly in the terminal: ./llama-cli -hf navthings/lilstory
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 navthings/lilstory # Run inference directly in the terminal: ./build/bin/llama-cli -hf navthings/lilstory
Use Docker
docker model run hf.co/navthings/lilstory
- LM Studio
- Jan
- vLLM
How to use navthings/lilstory with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "navthings/lilstory" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "navthings/lilstory", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/navthings/lilstory
- Ollama
How to use navthings/lilstory with Ollama:
ollama run hf.co/navthings/lilstory
- Unsloth Desktop
- Docker Model Runner
How to use navthings/lilstory with Docker Model Runner:
docker model run hf.co/navthings/lilstory
- Lemonade
How to use navthings/lilstory with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull navthings/lilstory
Run and chat with the model
lemonade run user.lilstory-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
lilstory
a tiny 8m parameter llama-style model trained from scratch on tinystories. it writes short simple stories that mostly make sense and then kinda wander off.
run it
ollama run navthings/lilstory
or use lilstory.gguf with llama.cpp. the transformers version (model.safetensors + config + tokenizer) is in here too.
or try it in your browser: https://navthings.github.io/playground/
details
4 layers, 256 wide, 4 attention heads, 8000 token bpe tokenizer i trained myself. trained on a macbook with adamw, lr 1e-3, batch 32.
used in my paper: the effect of corpus size on the performance of a llm
- Downloads last month
- 508