Re:PMET: Precise Model Editing in a Transformer
by nl on Sunday August 27, 2023 @08:43PM
(#37288299)
You encode your document with some kind of embedding, eg HuggingFace Sentence Transformers: https://www.sbert.net/ (probably most commonly used) or OpenAI Embeddings: https://platform.openai.com/docs/guides/embeddings/what-are-... and then use a vector database (Elastic, Postgres, FAISS or whatever) to do a similarity search.
[ Parent
| on HN ]
There are no comments on this comment yet.