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 ggml-org/stories15M_MOE:F16
# Run inference directly in the terminal:
llama cli -hf ggml-org/stories15M_MOE:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ggml-org/stories15M_MOE:F16
# Run inference directly in the terminal:
llama cli -hf ggml-org/stories15M_MOE:F16
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 ggml-org/stories15M_MOE:F16
# Run inference directly in the terminal:
./llama-cli -hf ggml-org/stories15M_MOE:F16
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 ggml-org/stories15M_MOE:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf ggml-org/stories15M_MOE:F16
Use Docker
docker model run hf.co/ggml-org/stories15M_MOE:F16
Quick Links

stories15M_MOE

This model is ModelCloud/tinyllama-15M-stories repeated 4 times to make 4 experts.

The model is used for testing, not intended to be used in production (unless your product is some kind of bedtime story teller)

Weight of router is initialized randomly

shakespeare LoRA adapter

A LoRA adapter trained on first 100 paragraphs of shakespeare can be found inside moe_shakespeare15M

With input: Look in thy glass

  • Original model generates: Look in thy glass was a little girl. She was only three years old and she was three years old. She was
  • LoRA adapter generates: Look in thy glass in love of the eye: That's when when the eye see thy on the sun'
Downloads last month
96,449
Safetensors
Model size
36.4M params
Tensor type
F32
Β·
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 2 Ask for provider support

Spaces using ggml-org/stories15M_MOE 5