Views
No views yet
A lightweight code LLM independently developed by the Tennda team Focused on efficient, accurate code generation and instruction following — direct answers, no redundant reasoning.
| Item | Details |
|---|---|
| Model Name | Tennda-Nano |
| Developer | Tennda Team (in-house) |
| Parameters | Lightweight (<5B) |
| Architecture | Self-developed Transformer decoder (multimodal input) |
| Weight Format | bf16, MLX native |
| Framework | MLX (Apple Silicon Metal GPU acceleration) |
| Training Data | In-house code instruction dataset (20,022 samples: SQL / Python / algorithms, etc.) |
| Release Date | 2026-08-21 |
| Metric | Start | Final | Reduction |
|---|---|---|---|
| Train loss | 1.929 | 0.963 | -50% |
| Val loss | 4.500 | 0.844 | -81% |
| # | Task Type | Result |
|---|---|---|
| 1 | SQL conditional query (age>45) | ✅ Directly outputs SELECT * FROM employees WHERE age > 45; |
| 2 | Design a Car class (Python) | ⚠️ Occasional loop repetition (mitigable via sampling params) |
| 3 | SQL aggregate query (MAX salary) | ✅ Directly outputs SELECT MAX(SALARY) FROM EMPLOYEE; |
Note: current evaluation is a sampled manual assessment; scores are for reference only. A full evaluation pipeline is under continuous development.
| Metric | Result |
|---|---|
| Model load | ~4s |
| Single-task generation | ~3.4s |
| Output style | Direct answer (no verbose thinking) |
Total latency reduced by ~83% on the same task compared with the baseline (output size reduced by 75%).
Details in the training report and comparison report.
1from mlx_lm import load, generate
2from mlx_lm.sample_utils import make_sampler
3
4model, tokenizer = load("MLA299/Tennda-Nano")
5sampler = make_sampler(temp=0.3, top_p=0.9)
6prompt = tokenizer.apply_chat_template(
7 [{"role": "user", "content": "Write a SQL query to select employees older than 45."}],
8 add_generation_prompt=True,
9)
10print(generate(model, tokenizer, prompt=prompt, max_tokens=256, sampler=sampler))mlx_lm.server --model MLA299/Tennda-Nano --port 8080| Config | Requirement |
|---|---|
| Memory | ≥ 16GB (24GB recommended) |
| Platform | Apple Silicon (M-series, Metal GPU) |
| Inference | mlx-lm ≥ 0.30 |
| Quantization | Can be 4-bit quantized for 8GB-memory devices |
repetition_penalty at inference time)