Instructions to use tanp21/zac2026-lifemate-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tanp21/zac2026-lifemate-models with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
LifeMate β trained weights (Zalo AI Challenge 2026)
Fine-tuned weights of LifeMate, a fully offline Vietnamese voice agent built for the Zalo AI Challenge 2026
("LifeMate β Agentic AI That Turns Your Voice Into Action"). A spoken request (plus audio history, user context and
the JSON-schema tools of the installed apps) is transcribed by two ASR models and handled by a small LLM agent that
calls the apps' tools until the task is done, information is missing (sys.ask_missing_info) or no app fits.
| Public leaderboard | 70.22 (weighted soup W7, this repository) |
| System size | 5.82B parameters (LLM 4.21B, context 16,384 tokens) |
| Runtime | fully offline, greedy decoding, seed 0, one GPU (24 GB) |
| Frozen | 2026-11-16 (final Docker solution deadline) |
Pipeline
speech request βββΊ PhoWhisper-large + LoRA ββββββββββββββ (history-aware context prompt, live re-decode)
(16 kHz wav) βββΊ gipformer-synth-full (68M RNN-T) βββββ€ (second transcript when the words differ)
βΌ
Qwen3.5-4B + weighted LoRA soup W7 (bf16, 16K context)
prompt v4 + installed apps' tools + history + request
β tool call βββΊ zaic_tools env βββΊ result βββ
ββββββββββββββββββββββββββββββββββββββββββββββ
βΌ final answer / sys.ask_missing_info / no call
Contents
| Folder | What | Base model (revision) | Base licence |
|---|---|---|---|
llm-lora/e3b-full |
LoRA r32 / Ξ±64, SFT mix e3b-full |
Qwen/Qwen3.5-4B (851bf6e) |
Apache-2.0 |
llm-lora/e3b-calib3-full |
LoRA r32 / Ξ±64, SFT mix e3b-calib3-full |
same | Apache-2.0 |
llm-lora/e3b-dev |
LoRA r32 / Ξ±64, SFT mix e3b-dev |
same | Apache-2.0 |
llm-lora/e3b-calib2-tts |
LoRA r32 / Ξ±64, SFT mix e3b-calib2-tts |
same | Apache-2.0 |
phowhisper-lora |
LoRA r32 / Ξ±64 on all train audio | vinai/PhoWhisper-large (b9136a4) |
BSD-3-Clause |
gipformer-synth-full |
whole-model fine-tune, sherpa-onnx export | g-group-ai-lab/gipformer1.5-68M-rnnt (dd9227d) |
MIT |
SHA256SUMS lists every file. Weights are byte-identical to the training outputs; only adapter_config.json /
the PEFT card of the LLM adapters were edited for upload (base_model_name_or_path β Qwen/Qwen3.5-4B).
Shipped models
| Shipped model | Built from | Parameters |
|---|---|---|
| LLM (W7) | Qwen3.5-4B + 0.2 Β· e3b-full + 0.5 Β· e3b-calib3-full + 0.15 Β· e3b-dev + 0.15 Β· e3b-calib2-tts |
4,205,751,296 |
| ASR 1 | PhoWhisper-large + phowhisper-lora, merged fp16 |
1,543,304,960 |
| ASR 2 | gipformer-synth-full as is |
66,567,751 |
| Total | 5,815,624,007 |
Weighted soup W7. The four adapters are trained from the same base with the same trainer; their LoRA deltas
are combined in fp32 with the weights above, added to the base and cast to bf16 (one model, no ensembling at
inference). Rebuilding from this repository is deterministic: re-merging these files gives exactly the
saved_models of our Docker image (sha256 checked on two machines).
hf download Qwen/Qwen3.5-4B --revision 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a --local-dir models/Qwen3.5-4B
hf download vinai/PhoWhisper-large --revision b9136a44b5f2ca664bd0b8f74baecf1715f6eeeb --local-dir models/PhoWhisper-large
hf download tanp21/zac2026-lifemate-models --local-dir lifemate
# LLM: weighted LoRA soup -> bf16 text model (Qwen3_5ForCausalLM)
python scripts/merge_lora.py --base models/Qwen3.5-4B \
--soup lifemate/llm-lora/e3b-full,lifemate/llm-lora/e3b-calib3-full,lifemate/llm-lora/e3b-dev,lifemate/llm-lora/e3b-calib2-tts \
--soup-weights 0.2,0.5,0.15,0.15 --out saved_models/llm --dtype bf16
# (low-RAM equivalent, same bytes: scripts/stream_soup.py)
# ASR 1: PhoWhisper + LoRA, merged fp16
python scripts/merge_whisper_lora.py --base models/PhoWhisper-large --adapter lifemate/phowhisper-lora --out saved_models/whisper
# ASR 2: sherpa-onnx files used as they are
cp lifemate/gipformer-synth-full/{encoder,decoder,joiner}.onnx lifemate/gipformer-synth-full/tokens.txt saved_models/gipformer/
The scripts are in /code/training_code/ of our Docker image.
Training summary
| Model | Data | Recipe |
|---|---|---|
| LLM adapters | four SFT mixes, 10.4kβ12.1k conversations / 59β70M tokens each: organiser train samples (gold text + cross-fit ASR transcripts) and code-labelled synthetic scenarios (gold calls replayed on the train engine; DeepSeek writes only the wording; ASR-noise channel and VieNeu-TTS round trip) | LoRA r32 / Ξ±64 on attention, MLP and Gated-DeltaNet projections; bf16; 1 epoch; lr 1e-4; global batch 16; seed 0; 650β754 updates on 1 GPU |
phowhisper-lora |
all organiser train user turns (real audio), lower-case spoken-form targets | LoRA r32 / Ξ±64 on q, k, v, out_proj, fc1, fc2; fp16; 2 epochs; lr 2e-4; batch 8; seed 0 |
gipformer-synth-full |
organiser train user turns Γ3 + 27,707 VieNeu-TTS clips (41.8 h) of DeepSeek-written entity-dense requests | whole model trainable; AdamW 5e-5; 3 epochs; β€ 300 s audio per batch; fp16; seed 43 |
Exact data:
tanp21/zac2026-lifemate-sft (SFT mixes) and
tanp21/zac2026-lifemate-asr-synth
(synthetic speech); both contain content derived from the organiser train split.
Only the train split was used for training and tuning; public/private test data was never transcribed, labelled or
used for training.
Intended use and limitations
Research artefact of a competition entry. The LLM adapters are trained for the competition's prompt format
(prompt v4, Qwen3.5 XML tool calls, enable_thinking=False) and the organisers' zaic_tools simulator; outside that
setting they are not expected to behave well. ASR models are tuned for short Vietnamese assistant requests (16 kHz).
Weights inherit the licences of their base models (Apache-2.0, BSD-3-Clause, MIT).
- Downloads last month
- -