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

Add Agentic RAG #135

Merged
merged 4 commits into from
Jul 5, 2024
Merged

Add Agentic RAG #135

merged 4 commits into from
Jul 5, 2024

Conversation

aymeric-roucher
Copy link
Collaborator

What does this PR do?

Add a notebook on agentic RAG.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

notebooks/en/agent_rag.ipynb Show resolved Hide resolved
@@ -0,0 +1,2800 @@
{
Copy link
Collaborator

@merveenoyan merveenoyan Jul 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe explain why you picked thenlper/gte-small?

the rest is self explanatory for someone who read your previous cookbook I guess


Reply via ReviewNB

@@ -0,0 +1,2800 @@
{
Copy link
Collaborator

@merveenoyan merveenoyan Jul 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use Llama 3?


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I added a more complete evaluation part with the comparison of agentic vs standard RAG (scores goes from 70% to 78.5%! 🚀)

Copy link
Collaborator

@merveenoyan merveenoyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL agents + RAG, thanks for the recipe!
Only left minor comments

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@aymeric-roucher aymeric-roucher merged commit b810dc1 into huggingface:main Jul 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants