Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bbotond
· 3y ago · 0 comments
What I don’t understand is why is an API needed to create embeddings. Isn’t this something that could be done locally?
Comments
[–]
pantulis
3y ago
You would need to have a local copy of the GPT model, which are not exactly OpenAI's plans.
[–]
jerrygenser
3y ago
For embeddings, you can use smaller transformers/llms or sentence2vec and often get good enough results.
You don't need very large models to generate usable embeddings.
[–]
pantulis
3y ago
You are correct, I assumed parent was referring to specific embeddings generated by OpenAI LLMs.
[–]
thorum
3y ago
It’s cheaper to use OpenAI. If you have your own compute, sentence-transformers is just as good for most use cases.
[–]
teaearlgraycold
3y ago
Yes. The best public embedding model is decent, but I expect it’s objectively worse than the best model from OpenAI.
[–]
merpnderp
3y ago
Sure, but I don't know of any models you can get local access to that work nearly as well.