How to use from
llama.cpp
# Gated model: Login with a HF token with gated access permission
hf auth login
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf connectedtechco/syrup-code-x0.1-4b:F16
# Run inference directly in the terminal:
llama cli -hf connectedtechco/syrup-code-x0.1-4b:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf connectedtechco/syrup-code-x0.1-4b:F16
# Run inference directly in the terminal:
llama cli -hf connectedtechco/syrup-code-x0.1-4b: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 connectedtechco/syrup-code-x0.1-4b:F16
# Run inference directly in the terminal:
./llama-cli -hf connectedtechco/syrup-code-x0.1-4b: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 connectedtechco/syrup-code-x0.1-4b:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf connectedtechco/syrup-code-x0.1-4b:F16
Use Docker
docker model run hf.co/connectedtechco/syrup-code-x0.1-4b:F16
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Syrup Code x0.1 4b

Syrup Code x0.1 4b is an experimental coding model fine-tuned from Qwen3 4B Instruct with Connected Tech codebase structure, specialized for generating structured code in Go, TypeScript, React, and Svelte.

Quantized GGUF variants: syrup-code-x0.1-4b-f16, syrup-code-x0.1-4b-q4_k, syrup-code-x0.1-4b-q8_0

Usage

Command Line (llama.cpp)

hf download connectedtechco/syrup-code-x0.1-4b gguf/syrup-code-x0.1-4b-(VARIANT).gguf --local-dir .
./llama-server --host 0.0.0.0 --port 8080 -m gguf/syrup-code-x0.1-4b-(VARIANT).gguf

Python (Transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("connectedtechco/syrup-code-x0.1-4b")
tokenizer = AutoTokenizer.from_pretrained("connectedtechco/syrup-code-x0.1-4b")

prompt = "write a svelte component for navigation menu"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=512)
print(tokenizer.decode(outputs[0]))

Training Details

  • Training Data: Connected Tech codebase
  • Training Method: LoRA fine-tuning

Limitations

  • Experimental model, may produce incorrect output
  • Optimized for Connected Tech codebase structure, intended for internal use only.

Citation

@misc{syrup-code-x0.1-4b,
  author = {Bhumjate S.},
  title = {Syrup Code x0.1 4b},
  year = {2025},
  publisher = {HuggingFace},
  url = {https://huggingface.co/connectedtechco/syrup-code-x0.1-4b}
}
Downloads last month
-
Safetensors
Model size
4B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for connectedtechco/syrup-code-x0.1-4b

Quantized
(276)
this model