Book SFT Pipeline
Transforms raw ePub books into structured supervised fine-tuning datasets and trains LoRA models for author voice replication.
The Book SFT Pipeline skill provides an end-to-end blueprint for converting full-length literary works into high-quality instruction-tuning datasets and training style-transfer language models. It standardizes ePub text extraction, paragraph-preserving semantic segmentation (150-400 words), and multi-prompt instruction synthesis to prevent memorization while capturing prose rhythm. Designed for base model fine-tuning with LoRA, this skill also incorporates out-of-distribution modern scenario validation, AI detection metrics, and originality verification to ensure accurate voice emulation.
Características Principales
01Intelligent overlapping segmentation (150-400 words) at natural boundaries
02Out-of-distribution modern scenario validation and originality verification
03Synthetic instruction generation using 15+ prompt templates and 5+ system prompts
04Paragraph-level ePub extraction and front/back matter filtering
05LoRA configuration and training workflows optimized for base models
061 GitHub stars
Casos de Uso
01Evaluating style transfer models against content memorization and AI detection benchmarks
02Fine-tuning open-weight base models to replicate specific authorial voices and prose styles
03Converting long-form literary works into standardized JSONL instruction-tuning datasets