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

Added CommunityLM with RAG #74

Merged
merged 57 commits into from
Dec 9, 2024
Merged

Added CommunityLM with RAG #74

merged 57 commits into from
Dec 9, 2024

Conversation

mihir86
Copy link
Collaborator

@mihir86 mihir86 commented Sep 28, 2024

Description

This PR adds another example of using RAG, where we use RAG for generating responses instead of finetuning the LLM.

References

@mihir86 mihir86 requested a review from neubig September 28, 2024 00:34
@mihir86 mihir86 self-assigned this Sep 28, 2024
@mihir86 mihir86 changed the title Mihirban/communitylm Added CommunityLM with RAG Sep 28, 2024
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

I think this looks good, but why is it marked as "draft"?

@mihir86 mihir86 marked this pull request as ready for review October 10, 2024 21:13
@mihir86
Copy link
Collaborator Author

mihir86 commented Oct 10, 2024

I modified the code to run the RAGLM for CommunityLM. Marked it as ready to review now.

@neubig neubig self-requested a review December 5, 2024 17:55
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

Hey @mihir86 , could you please try to fix the linting issues and request my review when done? Thanks!

@mihir86
Copy link
Collaborator Author

mihir86 commented Dec 8, 2024

I pushed code with the new env. That worked.

@mihir86 mihir86 requested a review from neubig December 8, 2024 00:31
@mihir86 mihir86 linked an issue Dec 8, 2024 that may be closed by this pull request
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

Just a few comments!

examples/community_lm/community_lm.ipynb Outdated Show resolved Hide resolved
examples/community_lm/community_lm_rag.ipynb Show resolved Hide resolved
@mihir86 mihir86 requested a review from neubig December 9, 2024 03:40
@neubig neubig merged commit 96e689c into main Dec 9, 2024
5 checks passed
@neubig neubig deleted the mihirban/communitylm branch December 9, 2024 04:13
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.

Implement RAG for CommunityLM
2 participants