Instructions to use MrMoeeee/lamp-models 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 MrMoeeee/lamp-models 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 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 serve -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/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -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
- Llama new
- 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 Desktop
- 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
- Atomic Chat
Upload folder using huggingface_hub
Browse filesFiles changed (8)
- .gitattributes+3
- .gitkeepAdded
- Modelfile.lamp-gemma-4bAdded+4
- Modelfile.lamp-llama-3bAdded+4
- README.mdAdded+67
- lamp-gemma-4b.Q8_0.ggufAdded+3
- lamp-llama-3b.Q8_0.ggufAdded+3
- training_results.pngAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textlamp-gemma-4b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -textlamp-llama-3b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -texttraining_results.png filter=lfs diff=lfs merge=lfs -text
1234FROM ./lamp-gemma-4b.Q8_0.ggufPARAMETER temperature 0.3PARAMETER num_predict 4096PARAMETER stop <end_of_turn>1234FROM ./lamp-llama-3b.Q8_0.ggufPARAMETER temperature 0.3PARAMETER num_predict 4096PARAMETER stop <|eot_id|>12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667---license: apache-2.0tags: - lamp - iot - pixel-art - light-control - fine-tuned - gguf - ollama---
# LAMP Fine-Tuned Models
Fine-tuned language models for the **LAMP** (Moonside Lamp Emulator) project. These models generate JSON light programs from natural language descriptions.
## Models
| Model | Base | Parameters | GGUF Size | Final Eval Loss ||-------|------|-----------|-----------|-----------------|| `lamp-llama-3b.Q8_0.gguf` | Llama 3.2 3B Instruct | 3.2B | 3.2 GB | 0.0294 || `lamp-gemma-4b.Q8_0.gguf` | Gemma 3 4B IT | 4.3B | 3.9 GB | 0.0247 |
## Training Details
- **Method**: Full fine-tune (100% parameters trainable, not LoRA)- **Precision**: bf16- **Hardware**: NVIDIA H200 (140GB VRAM)- **Framework**: Unsloth + HuggingFace TRL- **Dataset**: 2,268 train / 253 validation examples- **Epochs**: 3- **Batch size**: 16 (4 per device x 4 gradient accumulation)- **Learning rate**: 2e-5 with cosine decay- **Optimizer**: AdamW
## Training Results

Both models converged well:- **Llama 3.2 3B**: Loss 1.38 -> 0.018, eval loss 0.0294- **Gemma 3 4B**: Loss 1.37 -> 0.018, eval loss 0.0247
## Usage with Ollama
1. Download the GGUF file2. Create a Modelfile:
```# Modelfile.lamp-llama-3bFROM ./lamp-llama-3b.Q8_0.ggufPARAMETER temperature 0.3PARAMETER num_predict 4096PARAMETER stop <|eot_id|>```
3. Create and run:```bashollama create lamp-llama-3b -f Modelfile.lamp-llama-3bollama run lamp-llama-3b "warm and cozy"```
## Example
**Input**: "Create a light program for: warm and cozy"
**Output**: A JSON program controlling LED pixels with colors, animations, and timing for a warm ambient effect.123version https://git-lfs.github.com/spec/v1oid sha256:ee2ed4dc203391abd941653f5b04598f90656b6d9be0cb1a6ac8f0290534e808size 4130401952123version https://git-lfs.github.com/spec/v1oid sha256:02eac7bad9f7a3681923b75ea8006b24daf696df4b4170a3d0cee673c4bb8e9fsize 3421898944.gitattributes+3
.gitkeepAdded
Modelfile.lamp-gemma-4bAdded+4
Modelfile.lamp-llama-3bAdded+4
README.mdAdded+67
lamp-gemma-4b.Q8_0.ggufAdded+3
lamp-llama-3b.Q8_0.ggufAdded+3
training_results.pngAdded

Large File Pointer Details
- SHA256: ec3c225ec2a735738f7d642ea44f6b7761dfb3f0b1e0a395f09b02735b24ecf0
- Pointer size: 131 Bytes
- Size of remote file: 210 kB