Instructions to use MrMoeeee/lamp-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use MrMoeeee/lamp-models with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="MrMoeeee/lamp-models", filename="lamp-gemma-4b-v2-gguf/lamp-gemma-4b-v2-Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use MrMoeeee/lamp-models with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MrMoeeee/lamp-models:Q8_0 # Run inference directly in the terminal: llama-cli -hf MrMoeeee/lamp-models:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MrMoeeee/lamp-models:Q8_0 # Run inference directly in the terminal: llama-cli -hf MrMoeeee/lamp-models:Q8_0
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 MrMoeeee/lamp-models:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf MrMoeeee/lamp-models:Q8_0
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 MrMoeeee/lamp-models:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf MrMoeeee/lamp-models:Q8_0
Use Docker
docker model run hf.co/MrMoeeee/lamp-models:Q8_0
- LM Studio
- Jan
- vLLM
How to use MrMoeeee/lamp-models with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MrMoeeee/lamp-models" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MrMoeeee/lamp-models", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MrMoeeee/lamp-models:Q8_0
- Ollama
How to use MrMoeeee/lamp-models with Ollama:
ollama run hf.co/MrMoeeee/lamp-models:Q8_0
- Unsloth Studio new
How to use MrMoeeee/lamp-models with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MrMoeeee/lamp-models to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MrMoeeee/lamp-models to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MrMoeeee/lamp-models to start chatting
- Docker Model Runner
How to use MrMoeeee/lamp-models with Docker Model Runner:
docker model run hf.co/MrMoeeee/lamp-models:Q8_0
- Lemonade
How to use MrMoeeee/lamp-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MrMoeeee/lamp-models:Q8_0
Run and chat with the model
lemonade run user.lamp-models-Q8_0
List all available models
lemonade list
LAMP Models β Fine-tuned for Smart Lighting Control
Fine-tuned language models that generate JSON lighting programs from natural language descriptions.
Models
| Model | Base | Params | GGUF Size | Final Eval Loss |
|---|---|---|---|---|
| lamp-gemma-4b-v2 | Gemma 3 4B IT | 4.3B | ~4.1 GB (Q8_0) | 0.0288 |
Training Details
- Fine-tune Type: Full parameter (no LoRA) β all 4,300,079,472 parameters trained
- Precision: bf16 (bfloat16)
- Dataset: 6,567 training examples + 730 validation examples
- Epochs: 2
- Effective Batch Size: 16 (8 per device Γ 2 gradient accumulation)
- Learning Rate: 2e-5 with cosine schedule
- Optimizer: AdamW (weight decay 0.01)
- Training Time: 38.1 minutes on NVIDIA H200
- Peak VRAM: 24.3 GB
Training Loss
Training Details
Summary
Usage
With Ollama (GGUF)
# Download the GGUF file and Modelfile from lamp-gemma-4b-v2-gguf/
ollama create lamp-gemma -f Modelfile
ollama run lamp-gemma "warm and cozy lighting"
With Transformers (HuggingFace)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("MrMoeeee/lamp-models", subfolder="lamp-gemma-4b-v2")
tokenizer = AutoTokenizer.from_pretrained("MrMoeeee/lamp-models", subfolder="lamp-gemma-4b-v2")
Files
lamp-gemma-4b-v2/ # Full model weights + training logs
βββ model-00001-of-00002.safetensors
βββ model-00002-of-00002.safetensors
βββ config.json
βββ tokenizer.json
βββ training_config.json
βββ training_log.json
βββ training_metrics.csv
βββ metrics_detailed.json
βββ graphs/
βββ training_loss.png
βββ training_details.png
βββ training_summary.png
lamp-gemma-4b-v2-gguf/ # Quantized GGUF for inference
βββ lamp-gemma-4b-v2-Q8_0.gguf
βββ Modelfile
Dataset
The LAMP dataset consists of natural language lighting requests paired with JSON lighting programs. Each program controls RGB LEDs with support for:
- Static colors and gradients
- Animations (breathing, rainbow, chase, etc.)
- Multi-step sequences with timing
- Brightness and speed control
- Downloads last month
- -
Hardware compatibility
Log In to add your hardware
8-bit


