Skip to content

Add Notebook: Medical Question Answering with HuatuoGPT-o1 #272

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

Merged
merged 10 commits into from
Feb 24, 2025

Conversation

AlanPonnachan
Copy link
Contributor

What does this PR do?

Fixes #271

This pull request adds a new notebook to the Hugging Face Cookbook: medical_question_answering.ipynb.
Provides a hands-on example of applying a state-of-the-art medical LLM to a real-world task.

Who can review?

@merveenoyan
@stevhliu

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

nice use case! however this seems like just an inference example, would be nice to make it a more comprehensive end to end example like RAG + reasoning from medical documents. curious what @stevhliu thinks

@stevhliu
Copy link
Member

Agree with @merveenoyan that the notebook can be expanded more (for example, building some kind of application on top of the model) to showcase its practicality.

@AlanPonnachan
Copy link
Contributor Author

Thank you for your valuable suggestions. I have expanded the notebook to incorporate RAG + reasoning from medical documents. Please review
@merveenoyan
@stevhliu

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Nice, I think this is more compelling now!

@stevhliu
Copy link
Member

Would you mind resolving the conflict? Thanks, and once @merveenoyan has had a chance to review then we can merge :)

@AlanPonnachan
Copy link
Contributor Author

@stevhliu can you help me in resolving the conflict? Thank you

@AlanPonnachan
Copy link
Contributor Author

@stevhliu @merveenoyan Any update on merging this branch?

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Sorry for the delay!

Just a few more changes and then we should be ready to merge 👍

AlanPonnachan and others added 2 commits February 24, 2025 22:29
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@AlanPonnachan
Copy link
Contributor Author

@stevhliu Thank you for the suggestions. I have committed the suggested changes.

@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.

@stevhliu stevhliu merged commit a7765b4 into huggingface:main Feb 24, 2025
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.

Medical Question Answering with HuatuoGPT-o1
4 participants