This repository was archived by the owner on Sep 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 814
Tutorial on using T5 model for text summarization #1864
Merged
Merged
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
25 tasks
parmeet
approved these changes
Aug 1, 2022
Contributor
parmeet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, LGTM! Thank you @pmabbo13 for adding this end-2-end tutorial, this would be quite helpful for users to on-board T5 model. Let's make sure the tutorial can be build locally before merge :).
Nayef211
approved these changes
Aug 2, 2022
Contributor
Nayef211
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great work on adding a descriptive tutorial that is very easy to follow!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
Add a tutorial which demonstrates how to use the T5 model for text summarization.
Process
Demonstrate the end-to-end process for generating text summaries of articles from the CNNDM dataset using TorchText's pre-trained T5 model with base configuration. This involved showcasing how to:
Test
Run
BUILD_GALLERY=1 make 'SPHINXOPTS=-W' htmlindocsand review rendered document indocs/build/html/tutorials/cnndm_summarization.htmlFollow-Up