Live data from Hacker News

Jina AI launches open-source 8k text embedding

jina.ai

81–90 of 217 posts

Re: Jina AI launches open-source 8k text embedding

#81
post #78
post #66

Earlier quoted context omitted.

You mean this table here? text-embedding-ada-002 53.3 text-search-davinci-*-001 52.8 text-search-curie-*-001 50.9 text-search-babbage-*-001 50.4 text-search-ada-*-001 49.0 That's not comparing it to the davinci/curie/babbage GPT3 models, it's comparing to the "search-text-*" family. Those were introduced in https://openai.com/blog/introducing-text-and-code-embeddings as the first public release of embeddings models f…

How interesting. I assumed that a consistent codename such as Ada/Davinci refers to the lineage/DNA of the OpenAI model from which a distinct product was created. But I can see how these codenames could be "just" a revision label of A/B/C/D (Ada/Babbage/Curie/Davinci), similar to "Pro/Max/Ultra". If true, a product named "M2 Ultra" could have nothing to do with another product called "Watch Ultra".

Wow I genuinely hadn't noticed the A/B/C/D thing!

Re: Jina AI launches open-source 8k text embedding

#83
post #79
post #54

Pardon my ignorance in advance but could it be used to "chat" with PDFs and websites? I am looking for OpenAI alternatives as I am in learning phase

No. “Chatting with PDFs” is (mostly) taking a users chat message, retrieve relevant content via e.g embedding search, then feed that into an LLM with a prompt that’s something along the lines of “given this information, can you answer this question”. This tool helps with embedding part. I’ve built a bunch of ”chat with your PDFs” bots, do reach out if you have any questions me at brian.jp.

Actually I wanna use langchain. OpwnAI is not free. I wanted to test two use cases:

- chat with documents(pdf, doc etc)

- chat with website. Like, if I integrate with an ecommerce site, I can ask questions from the website. What options do I have in free for both cloud and locally?

Re: Jina AI launches open-source 8k text embedding

#85
post #57
post #55

Earlier quoted context omitted.

I think the point is: if you compress 25 pages of text into 1024 floats, you will lose a ton of information, regardless of what the use case is, so you're probably still better of with chunking.

I've been getting great results for related documents by embedding entire blog posts, e.g. here: https://til.simonwillison.net/gis/pmtiles#related I'm not sure how I would do that after chunking.

Did you compare with simple baselines like bag-of-words and word vectors?

Re: Jina AI launches open-source 8k text embedding

#86
post #67

Earlier quoted context omitted.

It definitely is open source even if they don’t disclose all details behind the training

The very definition of what constitutes open source is being called into question in these kinds of discussions about AI. Without the training details and the weights being made fully open it’s hard to really call something truly open, even if it happens to meet some arbitrary definition of “open source”. A good definition of “truly open” is whether the exact same results can be reproduced by someone with no extra in…

Notice you are creating your own arbitrary definition of 'truly open', which IMHO corresponds more with 'reproducible'.

We already have a definition of open source. I don't see any reason to change it.

Re: Jina AI launches open-source 8k text embedding

#87
post #57

Earlier quoted context omitted.

I've been getting great results for related documents by embedding entire blog posts, e.g. here: https://til.simonwillison.net/gis/pmtiles#related I'm not sure how I would do that after chunking.

Did you compare with simple baselines like bag-of-words and word vectors?

My previous implementation used TF-IDF - I basically took all the words in the post and turned them into a giant "word OR word OR word OR word" search query and piped that through SQLite full-text search. https://til.simonwillison.net/sqlite/related-content

I jumped straight from that to OpenAI embeddings. The results were good enough that I didn't spend time investigating other approaches.

Re: Jina AI launches open-source 8k text embedding

#88
post #80

Earlier quoted context omitted.

A large vocabulary means less tokens are needed to represent the same information

*fewer Less is used for qualitative data like “I love him less”. Whereas fewer is used for countable things like “I need fewer tokens.”

Username checks out.

Re: Jina AI launches open-source 8k text embedding

#89
post #29

Color me surprised! it looks like its actually open source (Apache 2.0) and not the usual false advertising by some two-faced company or institution. Links here: * https://huggingface.co/jinaai/jina-embeddings-v2-base-en * https://huggingface.co/jinaai/jina-embeddings-v2-small-en

[deleted]

Re: Jina AI launches open-source 8k text embedding

#90

Some relevant stats from the link: 8192 token input sequence length 768 embedding dimensions 0.27GB model (with 0.07GB model also available) Tokeniser: BertTokenizer [1], 30528 token vocab [2] Is an 8K sequence length directly comparable to text-embedding-ada-002 if the vocabulary is much smaller? I seem to remember its tokeniser has a larger vocabulary. [1] https://huggingface.co/jinaai/jina-embeddings-v2-base-en/bl…

[deleted]
Post reply on HN