What’s the best approach for training an LLM using books? or Has anyone had success with training an

16 Replies, 1108 Views

Hey! I tried training an LLM using books last year, and it was a mixed bag. The biggest headache was cleaning up the text—OCR errors are brutal, especially with older books.

I used tools like Tesseract for OCR and then cleaned up the output with regex in Python. For chunking, I split by chapters to keep some structure.

Honestly, web scraping might be easier, but books give you way better quality if you’re willing to put in the work. Check out Project Gutenberg for clean, pre-formatted classics!

Messages In This Thread



Users browsing this thread: 1 Guest(s)