Idk where this changing the url thing started but I really like it.
Show HN: Talk to any ArXiv paper just by changing the URL
11–20 of 78 posts
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#12Idk where this changing the url thing started but I really like it.
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#13Very nice; appears to work well. Just an FYI that I did get a couple errors where the max context length was exceeded, one using the demo summarization task as the first query. I was using my own API key when the error occured.
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#14Looks great! It would be very interesting to understand a bit they why/how of some of the steps, such as the reranking and how you arrived at your chunking algo.
The chunking algorithm chunks by logical section (intro, abstract, authors, etc.) and also utilizes recursive subdivision chunking (chunk at 512 characters, then 256, then 128...). It is quite naive still but it works OK for now. An improvement would perhaps involve more advanced techniques like knowledge graph precomputation.
Reranking works by instead of embedding each text chunk as a vector and performing cosine similarity nearest neighbor search, you use a Cross-Encoder model that compares two texts and outputs a similarity score. Specifically, I chose Cohere's Reranker that specializes in comparing Query and Answer chunk pairs.
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#15Re: Show HN: Talk to any ArXiv paper just by changing the URL
#16Using that might be easier than a multi-modal approach. Bonus points for:
* Multiple papers at once
* Comparing PDF and HTML output with the LLM as input for it correcting similar converter code
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#17I thought this would be for contacting authors or chatting about the paper with other readers, but apparently RAG here is a new important TLA to take note of, meaning chat bot. You need to enter an API key from "Open"AI to use the service and it's about it answering your questions about the paper
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#18Re: Show HN: Talk to any ArXiv paper just by changing the URL
#19You might be able to drop the PDF backend since they're close to getting HTML running well: https://news.ycombinator.com/item?id=38713215 Using that might be easier than a multi-modal approach. Bonus points for: * Multiple papers at once * Comparing PDF and HTML output with the LLM as input for it correcting similar converter code
Re: Show HN: Talk to any ArXiv paper just by changing the URL
#20This is the first time I have seen someone use GROBID. It seems like an incredibly cool solution