Downloads · 30 days
74
9% of all-time downloads
MLA299/Tennda-Nano
Tennda-Nano is a text generation model from MLA299. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as other.
A lightweight code LLM independently developed by the Tennda team Focused on efficient, accurate code generation and instruction following — direct answers, no redundant reasoning.
Downloads · 30 days
74
9% of all-time downloads
All-time downloads
784
Public
Parameters
4.6B
9.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors9.3 GB · 100%
From the Hugging Face model README
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; |
SQL accuracy: 100% (2/2) Format alignment (direct answer, no redundant reasoning): 67% (2/3)
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.
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
model, tokenizer = load("MLA299/Tennda-Nano")
sampler = make_sampler(temp=0.3, top_p=0.9)
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "Write a SQL query to select employees older than 45."}],
add_generation_prompt=True,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=256, sampler=sampler))
Or start an OpenAI-compatible API server:
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)Tennda-Nano · In-house model · © 2026 Tennda Team