-
Notifications
You must be signed in to change notification settings - Fork 119
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
Nvingest curator tutorial #584
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
Signed-off-by: Rucha Apte <[email protected]>
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
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! Just had one small nitpick
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.
One more thing
3. Using Ingestor interface to chain together an extraction task and a deduplication task to ingest PDF | ||
- `extract` : Performs multimodal extractions from a document, including text, images, and tables. | ||
- `dedup` : Identifies duplicate images in document that can be filtered to remove data redundancy. | ||
- `filter` : Filters out images that are likely not useful using some heuristics, including size and aspect ratio. |
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.
I see that the ingest job in main.py has a caption
task, it might be helpful to add information about that here
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.
Good find ! I will add the caption task potion to README and update
Co-authored-by: ChrisJar <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
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.
Very clean code, thank you. Added a bunch of nits.
tutorials/multimodal_dapt_curation/curator/configs/struct_semantic_dedupe_config.yaml
Outdated
Show resolved
Hide resolved
tutorials/multimodal_dapt_curation/curator/configs/text_semantic_dedupe_config.yaml
Outdated
Show resolved
Hide resolved
tutorials/multimodal_dapt_curation/curator/configs/struct_semantic_dedupe_config.yaml
Outdated
Show resolved
Hide resolved
tutorials/multimodal_dapt_curation/curator/configs/text_semantic_dedupe_config.yaml
Outdated
Show resolved
Hide resolved
If needed, could you add |
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
…ntic_dedupe_config.yaml Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
…ic_dedupe_config.yaml Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
…ntic_dedupe_config.yaml Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
…ic_dedupe_config.yaml Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Co-authored-by: Sarah Yurick <[email protected]> Signed-off-by: Rucha Apte <[email protected]>
Description
This tutorial is divided into two parts:
Part 1: Multimodal Extraction - guide to extracting various modalities (text, images, tables, etc.) from PDFs using NVIDIA's multimodal extraction (nv-ingest) framework.
Part 2: Data Curation for Domain-Adaptive Pre-Training (DAPT) - covers best practices for data curation in DAPT. This stage processes extracted text, tables, charts, and images using the curation pipeline.
Usage
Follow the README under ingest first and then curator folder for installation of pre-reqs
Checklist