by kiwicopple · 3y ago · 0 comments
There are some trade-offs (it was trained on English-only text), but this is a good indicator of the direction where embeddings might go (code-specific, language-specific, etc)
[0] https://huggingface.co/Supabase/gte-small
[1] MTEB leaderboard: https://huggingface.co/spaces/mteb/leaderboard
fwiw, 98% of Supabase project use OpenAI for embeddings, so a lot of this content is just to help devs identify the best options they have available
I would love to see a comparison for some typical use cases using various methods of chunking input documents.
For example in chatgpt-retrieval-plugin[0] repo default chunk size is just 200 tokens
this is anyway a limitation, no doubt, but chunking is pretty often used
[0] https://github.com/openai/chatgpt-retrieval-plugin/blob/main...
And the model is only 70MB!