Who it is forA machine learning engineer who wants a custom Voice Mem memory-reading adapter for a different dataset or base model.
The problemOff-the-shelf models may not read Voice Mem memory well for a specific domain, so the team needs its own adapter.
The outcomeA trained adapter checkpoint produced with the default settings, matching the configuration of the released checkpoint-3318.
What you need first
- Python 3.10 or newer
- An OpenAI API key, used for fact extraction when memories are written
- Git and access to GitHub and Hugging Face to clone the repo and download the default models
- Audio input (a WAV file or a microphone) if you want to ingest speech
Steps
- Clone the repo and install the training tools with
pip install ms-swift==4.5.2 bitsandbytes. - Prepare training data in the format described in finetune/README.md.
- Run
python finetune/train.py --data data/train.jsonlwith default parameters. - Check GPU memory requirements and base model options in finetune/README.md before changing the base model.
Prompt for your agent
In the VoiceMem repo at <repo path>, install ms-swift==4.5.2 and bitsandbytes, then run finetune/train.py with my dataset <dataset path>. Expected output is a trained adapter. Verify the run uses the default parameters described in the README.
Caveat. The README mentions GPU memory requirements without giving numbers here, so check finetune/README.md before starting a run.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for xzf-thu/VoiceMem and "Fine-tune a Voice Mem model family adapter"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer