A newer version of the Gradio SDK is available:
6.1.0
metadata
title: Wechat Style Sft
emoji: π
colorFrom: yellow
colorTo: indigo
sdk: gradio
pinned: false
license: apache-2.0
short_description: QLoRA fine-tuning demo on WeChat essays for style adaptation
sdk_version: 5.46.1
WeChat Style SFT (QLoRA) β Minimal Space
Steps:
- Upload your two JSONLs into
data/:- data/sft_train.jsonl
- data/sft_val.jsonl
- Start the Space with CPU Basic (free) to verify requirements install.
- Switch to ZeroGPU / T4 in Settings β Hardware.
- Tab "Train" β Start Training (default 500 steps, Qwen2.5-0.5B).
- After training, a
lora_adapter/dir is saved. - Switch back to CPU Basic; Tab "Inference" β Load β Generate.
Privacy/Compliance:
- Use your own copyrighted text only.
- Do not upload full articles to public repos.
- Keep this Space Private under NUS org.