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

Ycoder-small

Ycoder-small is a tiny experimental code-focused language model created by louhless and fine-tuned for short programming prompts, lightweight problem solving, simple chat, and optional thinking-style output.

Join Discord: https://discord.gg/Dq4MWuJm

Model Details

  • Model name: Ycoder-small
  • Creator: louhless
  • Base model: HuggingFaceTB/SmolLM2-135M-Instruct
  • Architecture: Llama-style causal language model
  • Context length: 8192
  • Language: English, with small German greeting support
  • Export: GGUF available
  • Status: experimental

Focus

The model is mainly tuned for:

  • Python
  • GLSL
  • JavaScript
  • SQL
  • Bash
  • simple math
  • short normal assistant replies

LM Studio Thinking Toggle

The GGUF metadata includes a chat template with an enable_thinking variable.

When enable_thinking is enabled, the model is prompted to use:

<think>
short reasoning summary
</think>
<answer>
final answer
</answer>
Downloads last month
97
GGUF
Model size
0.1B params
Architecture
llama
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

Model tree for louhless/Ycoder-small

Quantized
(103)
this model