Training an LLM using books is a solid move, but it’s not for the faint-hearted.
I used PyPDF2 for PDFs and then ran the text through LangChain’s splitter. Worked pretty well!
Biggest gotcha? Some books have hidden formatting (like italics as underscores). Took me ages to fix that.
I used PyPDF2 for PDFs and then ran the text through LangChain’s splitter. Worked pretty well!
Biggest gotcha? Some books have hidden formatting (like italics as underscores). Took me ages to fix that.
