qqqqqf-q/MirrorFlow
About
从对话数据到训练:数字分身 + 模型蒸馏 From Dialogue Data to Training Closed-Loop: Digital Twin + Model Distillation
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalMirrorFlow
旧名:Qing-Digital-Self(Old Name)
Conversation-to-training pipeline: Digital Twin + Model Distillation
MirrorFlow provides an end-to-end toolchain:
conversation data -> cleaning/extraction -> training samples -> fine-tuning/distillation -> usage & evaluation.
It supports two tracks:
- Digital Twin: fine-tune on your own chat history to mimic your personal speaking style (see below)
- GPT-4o style alignment: align output structure, clarification habits, refusal behavior, and tool-calling behavior
Quick Start
KEEP 4o (Distill GPT-4o)
Many people love 4o’s “high EQ” style.
If GPT-4o gets retired, I hope to distill and reproduce the 4o style so it can “stay alive”.
- Due to the lack of data and budget, please reach out via the contacts below.
- We need more data and more GPUs to
KEEP4o. - You can export your ChatGPT data from OpenAI and send me the zip archive.
X: @qqqqqf_
Telegram: DM me here
Below are some results trained with Qwen2.5 1.5B Instruct + my own data LoRA + a modified system prompt.
4o LoRA + 4o-like system prompt

Same setup, second output

4o-like system prompt only

Qwen base model (no system prompt)

Contribute / Train
If you want to join Keep4o:
- Contribute data: click “Export data” in ChatGPT settings and send me the exported zip archive
X: @qqqqqf_
Telegram: DM me here - Train locally: run
openai-distill/openai-cleanto generate the dataset, then follow “Quick Start -> Fine-tune Model”
Docs: https://qqqqqf-q.github.io/MirrorFlow/en/
Digital Twin
This repo also includes a full tutorial/pipeline for digital-twin training, including:
- QQ/TG data extraction
- chat cleaning & conversion
- LlamaFactory fine-tuning
- model testing & usage
Quick start
Some code is inspired by Weclone.
Contributing
Contributions are welcome via Issues/PRs.
If you want to contribute data, please only submit data you have the rights to share, and avoid any private/PII content.
GPU renting is expensive. If you want to support compute cost, open an Issue and tell me your preferred method (I will consolidate it into a stable sponsor entry).
Star History
License
Apache-2.0
Explore related projects
Loading…