askbend icon indicating copy to clipboard operation
askbend copied to clipboard

Use of open-source model

Open Bachstelze opened this issue 3 years ago • 2 comments

Is it possible to use LLaMa as vector embeddings?

Bachstelze avatar Apr 07 '23 20:04 Bachstelze

Sure, But still trying to figure out what the API of LLaMa is, some docs about it? Now, Databend uses the OpenAI API doc here:

https://platform.openai.com/docs/guides/embeddings/what-are-embeddings

bohutang avatar Apr 08 '23 07:04 bohutang

LLaMA are Open and Efficient Foundation Language Models. Though I think that the decoder architecture isn't suitable for information retrival. Open ai uses probably encoder Models like sentence Bert or sentence similarity Models.

Bachstelze avatar Apr 08 '23 14:04 Bachstelze