-
Notifications
You must be signed in to change notification settings - Fork 284
Flan T5 Fine-Tuning on BioSummDataset S45893623 #294
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
Open
jac0be
wants to merge
31
commits into
shakes76:topic-recognition
Choose a base branch
from
jac0be:topic-recognition
base: topic-recognition
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rently no training scripts are implemented.
…luation metrics and logging.
…ounts were attributed to my commits.
…evice mismatch issues.
…as other training details to train_report.json in run dir.
Loss and rouge histories get saved to json files as training runs, in case we need to recreate the plots. Also minor comment clean ups.
…arise arbitrary reports.
…n scripts for dataset.py and predict.py which acts as a chat bot.
… and generating a summary from the dataset.
Collaborator
Marking
Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FLAN-T5 + LoRA Layperson Radiology Summarisation
This PR adds my implementation for Project 13: fine-tuning FLAN-T5-base with LoRA to translate expert radiology reports into layperson-friendly summaries using the BioLaySumm 2025 dataset.
What's included
modules.py— FLAN-T5 + LoRA model setupdataset.py— dataset loader with optional 90:10 train/test splittrain.py— full training loop, logging, ROUGE evaluation and model checkpointingpredict.py— inference script for arbitrary reportseval.py— builds CSVs and plots from the training logsREADME.md— detailed description of the approach, results, metrics, and error analysisNotes
Please let me know if there's any changes you'd prefer. I'm more than happy to make them.