Downloads Β· 30 days
32
25% of all-time downloads
zhifeixie/VoiceMem_MF_Qwen3_6_35B_A3B_Qlora
VoiceMem_MF_Qwen3_6_35B_A3B_Qlora is a text generation model from zhifeixie. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
<p align="center" <a href="https://github.com/lang-jiaqi/Voicememopen"Code π»</a / <a href="https://huggingface.co/zhifeixie/VoiceMemDefaultModelsEnv"Default Models Env π€</a </p
Downloads Β· 30 days
32
25% of all-time downloads
All-time downloads
128
Public
Repo size
180 MB
Likes
22
Public
Click a slice to open those files.
.safetensors180 MB Β· 100%
From the Hugging Face model README
[!Note] This repository contains a LoRA adapter only β not a standalone model. It is applied on top of
Qwen/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 named
VoiceMem_SLM_Qwen25_omni, but the weights published here are the Qwen3.6-35B-A3B reply adapter, not a Qwen2.5-Omni checkpoint.
This is the reply model of VoiceMem β a memory system for real-time voice agents built on a streaming dual-brain architecture. VoiceMem retrieves memory while the user is still speaking; this adapter is the generation side, tuned to consume the retrieved memory and answer from it rather than ignore it or restate it verbatim.
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 torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_id = "Qwen/Qwen3.6-35B-A3B"
adapter_id = "zhifeixie/VoiceMem_SLM_Qwen25_omni"
tokenizer = AutoTokenizer.from_pretrained(base_model_id, trust_remote_code=True)
base = AutoModelForCausalLM.from_pretrained(
base_model_id, trust_remote_code=True, dtype="bfloat16", device_map="auto"
)
model = PeftModel.from_pretrained(base, adapter_id)
model.eval()
The adapter expects retrieved memory in its context. Use VoiceMem to produce it:
pip install voicemem funasr sounddevice
hf download zhifeixie/VoiceMem_Default_Models_Env --local-dir ./models
export OPENAI_API_KEY=sk-... # write-side fact extraction only; retrieval stays local
python scripts/realtime_funasr_qwen.py
The defaults in the training script are the ones that produced checkpoint-3318; running it unchanged
reproduces this adapter.
pip install trl peft datasets accelerate bitsandbytes
python finetune/train.py --data data/train.jsonl
Data format, VRAM requirements, and how to swap the base model: see finetune/README.md.
On AudioMC 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.
The numbers below measure the memory system, not this adapter in isolation. They are reproduced here for context; see the code repository for the protocol.
| 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 |
Optimizer shards, DeepSpeed state, RNG state, scheduler state, and training logs are not model artifacts and are not published here.
Verify a download:
sha256sum -c checksums.sha256
Intended use. Research on long-term conversational memory and memory-grounded answer generation.
Limitations.
The adapter is released under the Apache License 2.0. The base model carries its own license, which you must accept separately β this release grants no rights to it.
If you find this adapter useful, please cite the VoiceMem repository:
@software{voicemem,
title = {VoiceMem: Streaming Dual-Brain Memory for Real-Time Voice Agents},
author = {{VoiceMem Team}},
year = {2026},
url = {https://github.com/lang-jiaqi/Voicemem_open}
}