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

16 Replies, 1117 Views

Training an LLM using books? Yeah, it’s doable but messy. Footnotes and weird formatting are the worst.

I ended up using pdftotext for PDFs and then wrote a custom script to strip out footnotes. For chunking, I went with paragraphs—keeps things digestible for the model.

Pro tip: Mix in some web data to avoid overfitting. Otherwise, your model might start sounding like Dickens lol.

Messages In This Thread



Users browsing this thread: 1 Guest(s)