How to use from
llama.cppInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf sthaps/Maincoder-1B:# Run inference directly in the terminal:
llama-cli -hf sthaps/Maincoder-1B: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 sthaps/Maincoder-1B:# Run inference directly in the terminal:
./llama-cli -hf sthaps/Maincoder-1B: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 sthaps/Maincoder-1B:# Run inference directly in the terminal:
./build/bin/llama-cli -hf sthaps/Maincoder-1B:Use Docker
docker model run hf.co/sthaps/Maincoder-1B:Quick Links
Maincoder-1B - GGUF
About
This repository contains GGUF weights for Maincode/Maincoder-1B.
For a convenient overview and download list, visit our model page.
Usage
If you are unsure how to use GGUF files, refer to the llama.cpp documentation for more details.
Llama.cpp CLI
./llama-cli -m Maincoder-1B-q4_k_m.gguf -p "Hello!"
Provided Quants
(sorted by size, not necessarily quality)
| Link | Type | Size/GB | Notes |
|---|---|---|---|
| GGUF | q2_k | 0.46 | very low quality, for testing |
| GGUF | q3_k_m | 0.54 | |
| GGUF | q4_0 | 0.60 | |
| GGUF | q4_k_m | 0.63 | recommended, good balance |
| GGUF | q5_k_m | 0.71 | |
| GGUF | q8_0 | 1.02 | near-full precision |
Thanks
Special thanks to the llama.cpp team for their amazing work.
- Downloads last month
- 46
Hardware compatibility
Log In to add your hardware
2-bit
3-bit
4-bit
5-bit
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for sthaps/Maincoder-1B
Base model
Maincode/Maincoder-1B
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf sthaps/Maincoder-1B:# Run inference directly in the terminal: llama-cli -hf sthaps/Maincoder-1B: