Flan T5 Fine-Tuning on BioSummDataset S45893623#294
Open
jac0be wants to merge 31 commits intoshakes76:topic-recognitionfrom
Open
Flan T5 Fine-Tuning on BioSummDataset S45893623#294jac0be wants to merge 31 commits intoshakes76:topic-recognitionfrom
jac0be wants to merge 31 commits intoshakes76:topic-recognitionfrom
Conversation
…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. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
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.