3 ms·
You could just use the latex source code of the paper in the context window if you want it to be aware of the math. You can download latex source for any paper
by alsodumb 3y ago
You could just use the latex source code of the paper in the context window if you want it to be aware of the math. You can download latex source for any paper or arxiv.
If you have many papers, perhaps upload the latex source code of all of them into some vector database like pinecone and use them with LangChain for retrieval.
- arthurcolle 3y agothis is a great idea, totally doable with what is out there
- muffles 3y agoGreat point, I think this is important knowledge to spread. Using latex format is a sweet hack to do math based analysis for papers when using LLM frameworks. As long as you have your work in latex already or even if you can convert it to Latex. It seems to be able to understand Lyapunov stability equations, Kalman filter analysis, or Hamiltonian equations when I paste them in. There is definitely hallucinations here and there but the understanding is amazing. For instance, you can convert a Word document with Mathtype equations that use Latex and then copy it into ChatGPT and it can articulate what every line item equation is doing. With reasonable coherence. Likely its not accurate with cutting edge scientists, but pretty sweet for the engineers.