What problem does it solve?
Book SFT Pipeline automates turning books into structured fine-tuning data and training workflows by extracting text from ePub, segmenting into coherent chunks, and generating diverse instruction prompts for LoRA-style models.
Core Features & Use Cases
- Extracts text from ePub books and cleans front/back matter to form a clean corpus.
- Performs intelligent segmentation into 150-400 word chunks with overlap to maximize style-learning signals.
- Generates diverse instructions using multiple templates to teach a single author’s voice without memorizing exact passages.
- Constructs JSONL-ready datasets for Tinker-style fine-tuning, including system/user/assistant prompt structures.
- Facilitates end-to-end training with LoRA on lightweight bases and evaluates style transfer quality.
- Provides standalone case studies (e.g., Gertrude Stein) as references for validation and experimentation.
Quick Start
Process a public-domain book to produce an SFT dataset and a LoRA-ready training plan.