Book Style Transfer & SFT Pipeline
Automates the conversion of ePub books into high-quality SFT datasets for training custom LLM author voices and style-transfer models.
This skill provides a comprehensive end-to-end framework for fine-tuning large language models on literary works. It guides users through extracting text from ePub files, performing intelligent semantic segmentation to maintain narrative flow, and generating diverse instruction sets to prevent model overfitting. By focusing on style over content through a multi-agent orchestrator architecture, it enables the creation of lightweight LoRA adapters that accurately replicate specific authorial rhythms, vocabulary, and prose patterns for use in creative writing and content generation.
主要功能
01Validation framework featuring 'Modern Scenario' testing and originality verification
02Automated ePub text extraction with paragraph-level structure preservation
03LoRA training configuration optimized for 8B parameter base models
041 GitHub stars
05Intelligent semantic segmentation with word-count balancing and overlap
06Multi-template instruction generation using 15+ diverse prompt styles
使用场景
01Building specialized fine-tuning datasets from private literary archives
02Training a model to write marketing copy or prose in a specific author's voice
03Creating style-transfer adapters for creative writing assistants