Views
No views yet
[!Note] This repository contains a LoRA adapter only — not a standalone model. It is applied on top ofQwen/Qwen3.6-35B-A3Bwithpeft. You must obtain the base model separately under its own license and access conditions.
[!Important] The repository name does not match its contents. This repo is namedVoiceMem_SLM_Qwen25_omni, but the weights published here are the Qwen3.6-35B-A3B reply adapter, not a Qwen2.5-Omni checkpoint.
checkpoint-3318 ship in the code repo (finetune/train.py).scripts/realtime_funasr_qwen.py runs mic → streaming memory prefetch → memory-grounded reply.Qwen/Qwen3.6-35B-A3Br): 32noneCAUSAL_LMq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj,
in_proj_*, out_proj, shared_expert_gate)adapter_model.safetensors)checkpoint-3318 (2 epochs, 3,318 global steps, seed 42)adamw_torch_fused, lr 2e-4, cosine schedule, warmup ratio 0.03pip install transformers peft torch1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base_model_id = "Qwen/Qwen3.6-35B-A3B"
5adapter_id = "zhifeixie/VoiceMem_SLM_Qwen25_omni"
6
7tokenizer = AutoTokenizer.from_pretrained(base_model_id, trust_remote_code=True)
8base = AutoModelForCausalLM.from_pretrained(
9 base_model_id, trust_remote_code=True, dtype="bfloat16", device_map="auto"
10)
11model = PeftModel.from_pretrained(base, adapter_id)
12model.eval()1pip install voicemem funasr sounddevice
2hf download zhifeixie/VoiceMem_Default_Models_Env --local-dir ./models
3
4export OPENAI_API_KEY=sk-... # write-side fact extraction only; retrieval stays local
5python scripts/realtime_funasr_qwen.pycheckpoint-3318; running it unchanged
reproduces this adapter.1pip install trl peft datasets accelerate bitsandbytes
2python finetune/train.py --data data/train.jsonlfinetune/README.md.INFERENCE_MEMORY (132 conversations, 233 rubric criteria), checkpoint-3318 satisfies
97 / 233 (41.6%) criteria. Under the same protocol, GPT-4o-mini satisfies 96 / 233 (41.2%) —
an improvement of 1 criterion, or +0.43 percentage points. GPT-4o-mini is the judge for both runs.[!Note] This is a small margin on a single benchmark. Treat it as evidence that the adapter does not regress against a strong baseline, not as evidence of a large capability gain.
| Metric | VoiceMem | Mem0 |
|---|---|---|
| LoCoMo accuracy (Top-5 memories) | 91.2% | 61.68% |
| PersonaMem accuracy | 69.44% | — |
| Retrieval latency | 134 ms | 1,440 ms |
| Memory tokens per turn | 302 | 6,956 |
| File | Description |
|---|---|
adapter_model.safetensors | LoRA weights (180 MB) |
adapter_config.json | PEFT configuration with a public base-model identifier |
training_config.json | Training and release manifest. Deliberately not named config.json, so no loader mistakes this adapter-only repo for a full transformers model. |
checksums.sha256 | SHA-256 of the two adapter files |
LICENSE | Apache License 2.0 |
sha256sum -c checksums.sha2561@software{voicemem,
2 title = {VoiceMem: Streaming Dual-Brain Memory for Real-Time Voice Agents},
3 author = {{VoiceMem Team}},
4 year = {2026},
5 url = {https://github.com/lang-jiaqi/Voicemem_open}
6}