Text Generation
GGUF
Safetensors
English
on-device
code-generation
ui-generation
moldescript
conversational
Instructions to use oyekamal/molde-tiny 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 oyekamal/molde-tiny 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 oyekamal/molde-tiny:Q4_K_M # Run inference directly in the terminal: llama cli -hf oyekamal/molde-tiny:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf oyekamal/molde-tiny:Q4_K_M # Run inference directly in the terminal: llama cli -hf oyekamal/molde-tiny:Q4_K_M
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 oyekamal/molde-tiny:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf oyekamal/molde-tiny:Q4_K_M
Use Docker
docker model run hf.co/oyekamal/molde-tiny:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use oyekamal/molde-tiny with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "oyekamal/molde-tiny" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "oyekamal/molde-tiny", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/oyekamal/molde-tiny:Q4_K_M
- Ollama
How to use oyekamal/molde-tiny with Ollama:
ollama run hf.co/oyekamal/molde-tiny:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use oyekamal/molde-tiny with Docker Model Runner:
docker model run hf.co/oyekamal/molde-tiny:Q4_K_M
- Lemonade
How to use oyekamal/molde-tiny with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull oyekamal/molde-tiny:Q4_K_M
Run and chat with the model
lemonade run user.molde-tiny-Q4_K_M
List all available models
lemonade list
- Atomic Chat
r4-qwen35-0.8b: model card
Browse files- r4-qwen35-0.8b/README.md +25 -0
r4-qwen35-0.8b/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# r4-qwen35-0.8b
|
| 2 |
+
|
| 3 |
+
Qwen3.5-0.8B full fine-tune on Molde data v3.1 (20,866 training pairs, language round 14), 3 epochs, trained on the team GPU server. Licence: Apache 2.0 (base model Qwen/Qwen3.5-0.8B).
|
| 4 |
+
|
| 5 |
+
**Prompt template: ChatML** (`models.json` entries carry `"template": "chatml"`): `<|im_start|>system ...<|im_end|><|im_start|>user ...<|im_end|><|im_start|>assistant` followed by an empty `<think></think>` block, no BOS token. Files: `r4-qwen35-0.8b-ep1-Q4_K_M.gguf` (the measured one, **recommended**), `ep2`, `ep3` Q4_K_M and `ep3` Q8_0 (not yet tested). `hf/` holds the epoch-3 (final) weights.
|
| 6 |
+
|
| 7 |
+
## Comparison (measured)
|
| 8 |
+
|
| 9 |
+
| | r3 Gemma 270M | r4 Gemma 270M epoch 2 | r4 Qwen3.5-0.8B epoch 1 |
|
| 10 |
+
|---|---|---|---|
|
| 11 |
+
| heldout2 (149 requests), checker pass | 90.6% | 89.3% | **94.6%** |
|
| 12 |
+
| heldout2 intent score | 0.726 | 0.724 | **0.760** |
|
| 13 |
+
| 60 short named requests, asks instead of building | 31.7% | 21.7% | **11.7%** |
|
| 14 |
+
| same 60 through the app (no-ask rule), builds that pass | **59** | 53 | 56 |
|
| 15 |
+
| 40 small changes through the app, do what was asked | 14 | 16 | **22** |
|
| 16 |
+
| seconds per create / per small edit (laptop, 4 threads, app core 0.6.0) | 2.3 / 5.6 | 3.2 / 5.0 | 4.3 / 11 |
|
| 17 |
+
| file (Q4_K_M) | 241 MB | 241 MB | 504 MB |
|
| 18 |
+
|
| 19 |
+
Test: MoldeScript heldout2 (149 requests written independently of the training data), the app's own generation loop with the line-stepped decoder (arm E), one laptop CPU with other jobs running (load average 6 to 10), so the speeds are rough. Epochs not listed in the table are exported but **not yet tested**; the Gemma epoch-1 weights (94.6% heldout2, 5% asks) were deleted by mistake and cannot be exported again.
|
| 20 |
+
|
| 21 |
+
Honest limits: about 2 times slower than the Gemma files; the validation checker pass logged during training (generated without the grammar, one request at a time) was 0.25, 0.50 and 0.675 at epochs 1, 2 and 3, so later epochs may be better or worse on the app test: that test has not been run on them yet. The `hf/` weights are epoch 3, the GGUF marked recommended is epoch 1 (its full weights were overwritten during training).
|
| 22 |
+
|
| 23 |
+
## Fine-tune from these weights
|
| 24 |
+
|
| 25 |
+
The full-precision weights are in [`hf/`](hf/) (bf16 safetensors, config, tokenizer with the MoldeScript keyword tokens already added). Load with `AutoModelForCausalLM.from_pretrained("oyekamal/molde-tiny", subfolder="r4-qwen35-0.8b/hf")` and continue training with `train/train.py` from the Molde repo (https://github.com/Orenda-Project/molde). The GGUF files are quantised exports of the same training run for llama.cpp.
|