Text Generation
GGUF
English
python
codegen
markdown
smol_llama
ggml
quantized
q2_k
q3_k_m
q4_k_m
q5_k_m
q6_k
q8_0
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 afrideva/beecoder-220M-python-GGUF:
# Run inference directly in the terminal:
llama-cli -hf afrideva/beecoder-220M-python-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf afrideva/beecoder-220M-python-GGUF:
# Run inference directly in the terminal:
llama-cli -hf afrideva/beecoder-220M-python-GGUF:
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 afrideva/beecoder-220M-python-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf afrideva/beecoder-220M-python-GGUF:
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 afrideva/beecoder-220M-python-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf afrideva/beecoder-220M-python-GGUF:
Use Docker
docker model run hf.co/afrideva/beecoder-220M-python-GGUF:
Quick Links

BEE-spoke-data/beecoder-220M-python-GGUF

Quantized GGUF model files for beecoder-220M-python from BEE-spoke-data

Original Model Card:

BEE-spoke-data/beecoder-220M-python

This is BEE-spoke-data/smol_llama-220M-GQA fine-tuned for code generation on:

  • filtered version of stack-smol-XL
  • deduped version of 'algebraic stack' from proof-pile-2
  • cleaned and deduped pypi (last dataset)

This model (and the base model) were both trained using ctx length 2048.

examples

Example script for inference testing: here

It has its limitations at 220M, but seems decent for single-line or docstring generation, and/or being used for speculative decoding for such purposes.

image/png

The screenshot is on CPU on a laptop.


Downloads last month
321
GGUF
Model size
0.2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for afrideva/beecoder-220M-python-GGUF

Quantized
(2)
this model

Datasets used to train afrideva/beecoder-220M-python-GGUF