Live data from Hacker News

Search ArXiv Fluidly

searchthearxiv.com

1–10 of 16 posts

Re: Search ArXiv Fluidly

#2
This seems interesting. I always thought of doing something similar but for specific topic in two specific arxiv categories. But for 300k papers like what is in here, Does anyone have an estimation on how much this will cost using OpenAI ada embeddings model?

Re: Search ArXiv Fluidly

#3
post #2

This seems interesting. I always thought of doing something similar but for specific topic in two specific arxiv categories. But for 300k papers like what is in here, Does anyone have an estimation on how much this will cost using OpenAI ada embeddings model?

Ada is deprecated: use the text embedding models instead.

It depends on whether you do full text search, or abstract only. If you do full text, I’d guess about 1k tokens per page, 10 pages per paper? So that would be 3B tokens, which would cost you 60$ if you use the cheapest embedder.

If you just do abstracts, the costs will be negligible.

Re: Search ArXiv Fluidly

#4
Wow! My first test query immediately found me a paper relevant to research code I'm writing. Down that rabbit hole, I almost forgot to come back and praise this project.

Re: Search ArXiv Fluidly

#5
post #2

This seems interesting. I always thought of doing something similar but for specific topic in two specific arxiv categories. But for 300k papers like what is in here, Does anyone have an estimation on how much this will cost using OpenAI ada embeddings model?

Ada is deprecated: use the text embedding models instead. It depends on whether you do full text search, or abstract only. If you do full text, I’d guess about 1k tokens per page, 10 pages per paper? So that would be 3B tokens, which would cost you 60$ if you use the cheapest embedder. If you just do abstracts, the costs will be negligible.

this project only uses kaggle metadata and abstract from arxiv. Moreover it is "focused" on only 5-6 categories in the arxiv. Therefore, the costs are marginal.

Plus you could use a mixed system: first you index the abstract of the most relevant 50 papers, then embedd the text of those 50 in order to asses which are truly relevant and/or meaningful.

Re: Search ArXiv Fluidly

#9

Did they calculate embeddings for the entire archive? That must have cost a fortune.

What are embeddings and why are they expensive?

Embeddings are vectors of chunks of documents, lists of 1024 (depending on a model) float numbers that represent that short snippet of text. This kind of search works by finding the most similar vectors, calculating them cost fractions of the cent, but when you need to do it billions to trillions of times, it adds up.

Re: Search ArXiv Fluidly

#10

Earlier quoted context omitted.

What are embeddings and why are they expensive?

Embeddings are vectors of chunks of documents, lists of 1024 (depending on a model) float numbers that represent that short snippet of text. This kind of search works by finding the most similar vectors, calculating them cost fractions of the cent, but when you need to do it billions to trillions of times, it adds up.

You could likely calculate them all on a modern MacBook easily enough.

Searching the embeddings is a different problem, but there are lots of specialised databases that can make it efficient.

Post reply on HN