Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog link fix #107

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions examples/Advance-RAG-with-HyDE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ we provided Colab walkthrough for HyDE implementation <a href="https://colab.r


### Learn deeper in Our Blog
The HyDE approach recognizes the difficulty of zero-shot learning and encoding relevance without labeled data. Instead, it leverages the power of language models and hypothetical documents. Here’s how it works:

For a deeper dive into the cutting-edge technologies of HyDE, and to access detailed technical knowledge, check out our Medium Blog.
1. **Generating Hypothetical Documents**: When a user enters a query, HyDE instructs a language model, like GPT-3, to generate a hypothetical document. This document is designed to capture relevance patterns but may contain inaccuracies.
2. **Unsupervised Encoding**: The generated hypothetical document is then encoded into an embedding vector using an unsupervised contrastive encoder. This vector identifies a neighborhood in the corpus embedding space, where similar real documents are retrieved based on vector similarity.
3. **Retrieval Process**: HyDE searches for real documents in the corpus that are most similar to the encoded hypothetical document. The retrieved documents are then presented as search results.

[Read the Blog Post]()
[Read the Blog Post](https://blog.lancedb.com/advanced-rag-precise-zero-shot-dense-retrieval-with-hyde-0946c54dfdcb)