I’ve had some success with training an LLM using books, but it’s not plug-and-play. The key is preprocessing.
Tools like Apache Tika helped me extract text cleanly, and I used spaCy for splitting chapters. Also, don’t forget to deduplicate—some books have repeating intros or copyright stuff.
Web data’s faster, but books give you depth. Worth it if you’re aiming for a niche model.
Tools like Apache Tika helped me extract text cleanly, and I used spaCy for splitting chapters. Also, don’t forget to deduplicate—some books have repeating intros or copyright stuff.
Web data’s faster, but books give you depth. Worth it if you’re aiming for a niche model.
