Views
No views yet
$state, $derived, $props, onclick, {#snippet} — without falling back to Svelte 4 patterns.Proof of concept — created with help of an LLM and trained against SvelteBench (9 tasks). Performance outside those benchmarks is not guaranteed until we have broader training data and evaluation.
| File | Format | Size | Use case |
|---|---|---|---|
model.safetensors.* | MLX 4-bit | 2.5 GB | Apple Silicon native (fastest) |
gemma-4-e2b-svelte5-Q4_K_M.gguf | GGUF Q4_K_M | 3.2 GB | LM Studio, llama.cpp, Ollama |
gemma-4-e2b-svelte5-bf16.gguf | GGUF bf16 | 8.7 GB | Full precision GGUF |
pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mrgnw/gemma-4-e2b-svelte5")
4
5messages = [{"role": "user", "content": "Build a searchable data table"}]
6prompt = tokenizer.apply_chat_template(
7 messages, add_generation_prompt=True, tokenize=False,
8 enable_thinking=False, # critical — prevents infinite thinking loops
9)
10
11response = generate(model, tokenizer, prompt=prompt, max_tokens=1024, verbose=True)1mlx_lm.server \
2 --model mrgnw/gemma-4-e2b-svelte5 \
3 --port 8199 \
4 --chat-template-args '{"enable_thinking":false}'gemma-4-e2b-svelte5-Q4_K_M.gguf and load it in LM Studio or any llama.cpp-compatible tool.enable_thinking=False in MLX chat template or model enters infinite reasoning loopsmlx-community/gemma-4-e2b-it-4bit using mlx-lm 0.31.2. Rank 64, 32 layers, 3000 iterations, ~65 min on M4 Pro. Val loss 0.027.on:click → onclick, stripped <svelte:options runes={true} />, removed Svelte 4 patterns from training data.