Instructions to use KalnRangelov/landing-page-gen-1.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use KalnRangelov/landing-page-gen-1.5b with 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 KalnRangelov/landing-page-gen-1.5b:F16 # Run inference directly in the terminal: llama cli -hf KalnRangelov/landing-page-gen-1.5b:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KalnRangelov/landing-page-gen-1.5b:F16 # Run inference directly in the terminal: llama cli -hf KalnRangelov/landing-page-gen-1.5b: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 KalnRangelov/landing-page-gen-1.5b:F16 # Run inference directly in the terminal: ./llama-cli -hf KalnRangelov/landing-page-gen-1.5b: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 KalnRangelov/landing-page-gen-1.5b:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf KalnRangelov/landing-page-gen-1.5b:F16
Use Docker
docker model run hf.co/KalnRangelov/landing-page-gen-1.5b:F16
- LM Studio
- Jan
- vLLM
How to use KalnRangelov/landing-page-gen-1.5b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KalnRangelov/landing-page-gen-1.5b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KalnRangelov/landing-page-gen-1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KalnRangelov/landing-page-gen-1.5b:F16
- Ollama
How to use KalnRangelov/landing-page-gen-1.5b with Ollama:
ollama run hf.co/KalnRangelov/landing-page-gen-1.5b:F16
- Unsloth Desktop
- Pi
How to use KalnRangelov/landing-page-gen-1.5b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KalnRangelov/landing-page-gen-1.5b:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "KalnRangelov/landing-page-gen-1.5b:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use KalnRangelov/landing-page-gen-1.5b with Docker Model Runner:
docker model run hf.co/KalnRangelov/landing-page-gen-1.5b:F16
- Lemonade
How to use KalnRangelov/landing-page-gen-1.5b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KalnRangelov/landing-page-gen-1.5b:F16
Run and chat with the model
lemonade run user.landing-page-gen-1.5b-F16
List all available models
lemonade list
- Hermes Agent
How to use KalnRangelov/landing-page-gen-1.5b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KalnRangelov/landing-page-gen-1.5b:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default KalnRangelov/landing-page-gen-1.5b:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use KalnRangelov/landing-page-gen-1.5b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KalnRangelov/landing-page-gen-1.5b:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "KalnRangelov/landing-page-gen-1.5b:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Landing Page Generator 1.5B
A fine-tuned Qwen2.5-Coder-1.5B model that generates complete, single-file HTML landing pages with embedded CSS.
Trained via knowledge distillation from DeepSeek V3 (685B) using LoRA on Apple Silicon.
Model Variants
| File | Precision | Size | Description |
|---|---|---|---|
model-f16.gguf |
FP16 | 3.1 GB | Full precision, best quality |
model-q8.gguf |
Q8_0 | 1.6 GB | 8-bit quantized, near-identical quality |
model-q4.gguf |
Q4_K_M | 986 MB | 4-bit quantized, good quality, smallest |
Usage with Ollama
- Download a GGUF file
- Create a
Modelfile:
FROM ./model-q8.gguf
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.3
SYSTEM "You are a web developer. When asked to create a landing page, output a complete single-file HTML document with embedded CSS and modern design. Use clean gradients, card layouts, and responsive design. Output only the HTML code, nothing else."
- Import and run:
ollama create landing-page-gen -f Modelfile
ollama run landing-page-gen "Create a landing page for a space tourism company called Orbit Adventures"
Training Details
- Base model: Qwen2.5-Coder-1.5B-Instruct (4-bit)
- Teacher model: DeepSeek V3 (685B parameters)
- Method: LoRA (rank 16, 0.3% of weights trainable)
- Training data: 500 diverse landing pages generated by DeepSeek V3
- Training: 600 iterations on Apple Silicon (M-series) using MLX
- Best validation loss: 0.218
Training Data
The training dataset is available at KalnRangelov/landing-page-training-data.
Full Experiment
See the full experiment writeup, code, and example outputs on GitHub: KalnRangelov/LLM-Landing-page-distillation
License
MIT
- Downloads last month
- 39
16-bit
Model tree for KalnRangelov/landing-page-gen-1.5b
Base model
Qwen/Qwen2.5-1.5B