HuggingFaceFW/fineweb
Viewer • Updated • 52.5B • 362k • 3.82k
How to use ilogic/NanoFairy110M with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ilogic/NanoFairy110M:F16 # Run inference directly in the terminal: llama cli -hf ilogic/NanoFairy110M:F16
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ilogic/NanoFairy110M:F16 # Run inference directly in the terminal: llama cli -hf ilogic/NanoFairy110M:F16
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 ilogic/NanoFairy110M:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf ilogic/NanoFairy110M:F16
docker model run hf.co/ilogic/NanoFairy110M:F16
How to use ilogic/NanoFairy110M with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "ilogic/NanoFairy110M"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "ilogic/NanoFairy110M",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/ilogic/NanoFairy110M:F16
How to use ilogic/NanoFairy110M with Ollama:
ollama run hf.co/ilogic/NanoFairy110M:F16
How to use ilogic/NanoFairy110M with Docker Model Runner:
docker model run hf.co/ilogic/NanoFairy110M:F16
How to use ilogic/NanoFairy110M with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ilogic/NanoFairy110M:F16
lemonade run user.NanoFairy110M-F16
lemonade list
A small chat model trained from scratch, which follows a system prompt.
| Parameters | 110M |
| Architecture | GPT-2 style, 12 layers, 12 heads, 768 wide |
| Context | 512 tokens |
| Tokenizer | Byte-level BPE, 32,000 tokens |
| Pretraining | ~2B tokens of FineWeb |
| Fine-tuning | smol-smoltalk, Dolly-15k, PersonaChat |
System: You are a friendly, helpful assistant.
User: Hello!
Assistant:
Each reply ends with <|endoftext|>. The system line is optional. For a character, write System: Your persona: I love hiking. I have a cat.
ollama run hf.co/ilogic/NanoFairy110M:F16
Recommended: temperature 0.7, context 512, stop on <|endoftext|> and \nUser:.
This is a very small model. It often gets facts wrong, loses track of long conversations, and can't reliably follow complex instructions, write code or use tools. Don't rely on it for anything important.
16-bit