Instructions to use Noid3a-Labs/Elderflower-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 Noid3a-Labs/Elderflower-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 Noid3a-Labs/Elderflower-1.5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Noid3a-Labs/Elderflower-1.5B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Noid3a-Labs/Elderflower-1.5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Noid3a-Labs/Elderflower-1.5B: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 Noid3a-Labs/Elderflower-1.5B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Noid3a-Labs/Elderflower-1.5B:Q4_K_M
Use Docker
docker model run hf.co/Noid3a-Labs/Elderflower-1.5B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Noid3a-Labs/Elderflower-1.5B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Noid3a-Labs/Elderflower-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": "Noid3a-Labs/Elderflower-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Noid3a-Labs/Elderflower-1.5B:Q4_K_M
- Ollama
How to use Noid3a-Labs/Elderflower-1.5B with Ollama:
ollama run hf.co/Noid3a-Labs/Elderflower-1.5B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Noid3a-Labs/Elderflower-1.5B with Docker Model Runner:
docker model run hf.co/Noid3a-Labs/Elderflower-1.5B:Q4_K_M
- Lemonade
How to use Noid3a-Labs/Elderflower-1.5B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Noid3a-Labs/Elderflower-1.5B:Q4_K_M
Run and chat with the model
lemonade run user.Elderflower-1.5B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Elderflower 1.5B
High-Discipline Reasoning & Logic Coprocessor
"
Elderflower 1.5B is an experimental, deterministic reasoning fine-tune built on Deepseek R1 Qwen 2.5 1.5B by Noid3a Labs.
Engineered specifically to act as an ultra-fast, zero-waffle thinking coprocessor for larger frontier models.
EXPERIMENTAL CHECKPOINT: This is an active preview build trained on a 1.9k curated reasoning slice. It is designed to evaluate deterministic state tracking and compute-shifting pipelines in real-world scenarios before the full V2 scale-out.
The Compute-Shifting Concept
Frontier language models (4B to 14B+) possess immense domain knowledge, but forcing them to generate thousands of tokens of step-by-step raw reasoning introduces high latency and heavy compute overhead.
Because prompt ingestion (prefill) is fast and parallelizable, while token generation (decoding) is slow and memory-bandwidth bound, Elderflower shifts the decoding bottleneck:
- Stage 1 (Elderflower 1.5B): Sprints through up to 4,000 tokens of structured
State:andOp:logic at 255 tokens/sec, mapping out variables and arithmetic in a couple of seconds. - Stage 2 (Frontier Compiler Model): Ingests Elderflower's reasoning trace via fast prompt prefill and immediately outputs the verified final answer.
By delegating the multi-token reasoning workload to a lightweight sub-2B model, larger models spend less time "thinking out loud," cutting total pipeline latency while preserving accuracy.
Empirical Benchmarks
Tested on local hardware via LM Studio multi-model routing pipelines (temperature = 0.0).
Reasoning & Mathematics
| Benchmark | Configuration | Score | Latency Profile | Verdict |
|---|---|---|---|---|
| GSM8K (Standard Math) | Direct Gemma 4B | 100% (10/10) | 10.69s avg | Baseline accuracy |
| GSM8K (Standard Math) | Elderflower + Gemma | 100% (10/10) | 7.12s median | Beat direct latency on 60% of runs; halved latency on multi-step items |
| MMLU (High School Math) | Direct Gemma 4B | 100% (10/10) | 29.42s avg | Strong direct baseline |
| MMLU (High School Math) | Elderflower + Gemma | 90% (9/10) | 28.50s avg | Maintained high-accuracy competition math routing |
| MATH-500 (Level 5 Algebra) | Elderflower + Gemma | Verified | Single pass | Successfully mapped intermediate algebra variables to derive exact answer |
Honest Limitations: Code Generation
- HumanEval Python Coding: Elderflower 1.5B was not trained on program synthesis or AST manipulation. Testing on standard Python completion showed that routing simple coding tasks through a 1.5B blueprint introduces unnecessary latency and occasional variable hallucinations.
- Recommendation: Do not use this model for coding. Elderflower is strictly specialized for mathematical logic, word problems, state tracking, and JSON schema extraction.
Prompt Format (ChatML)
Elderflower utilizes structured reasoning tags inside the standard ChatML format:
<|im_start|>system
You are a deterministic logic and math middleware. Generate a clear step-by-step State/Op reasoning blueprint.<|im_end|>
<|im_start|>user
Janet’s ducks lay 16 eggs per day. She eats 3 for breakfast and bakes muffins with 4. She sells the remaining eggs at the market for $2 each. How much money does she make in 5 days?<|im_end|>
<|im_start|>assistant
<thinking>
State: Total eggs per day = 16. Consumed per day = 3 + 4 = 7.
Op: Daily market eggs = 16 - 7 = 9.
State: Daily income = 9 * 2 = 18.
Op: 5-day total = 18 * 5 = 90.
</thinking>
<answer>90</answer><|im_end|>
How to Install & Run
Method 1: Ollama (Recommended)
Run the quantized GGUF directly from Hugging Face:
ollama run hf.co/Noid3a-Labs/Elderflower-1.5B:Q4_K_M
Method 2: LM Studio / llama.cpp
- Open the Files and versions tab on this repository.
- Download the GGUF quantization or native Safetensors weights.
- Load with
temperature: 0.0and set Parallel Slots to1for optimal stability on Vulkan/CUDA backends.
Method 3: Python Pipeline Routing (OpenAI SDK)
import time
from openai import OpenAI
client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio")
def solve_with_elderflower(prompt: str) -> str:
# Stage 1: Elderflower 1.5B generates the fast reasoning blueprint
elder_prompt = (
f"[Run ID: {time.time_ns()}]\n"
"You are a deterministic logic and math middleware. "
f"Generate a clear step-by-step State/Op reasoning blueprint for this question:\n{prompt}"
)
t1 = client.chat.completions.create(
model="noid3a-elderflower-1.5b",
messages=[{"role": "user", "content": elder_prompt}],
temperature=0.0
)
blueprint = t1.choices[0].message.content
# Stage 2: Frontier model compiles the final answer
compiler_prompt = (
f"Problem: {prompt}\n\n"
f"Proposed Reasoning Blueprint:\n{blueprint}\n\n"
"Using the blueprint above, compile the final answer."
)
t2 = client.chat.completions.create(
model="google/gemma-4-e4b",
messages=[{"role": "user", "content": compiler_prompt}],
temperature=0.0
)
return t2.choices[0].message.content
Attribution & License
Elderflower 1.5B is a derivative fine-tune of DeepSeek-R1-Distill-Qwen-1.5B, originally developed by the Qwen Team at Alibaba Cloud, distilled with Deepseek R1.
This model is released under the Apache License, Version 2.0.
- Downloads last month
- 150
Model tree for Noid3a-Labs/Elderflower-1.5B
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B