Skip to content

Nvingest curator tutorial #584

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

Closed
wants to merge 52 commits into from

Conversation

ruchaa-apte
Copy link
Contributor

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

cd ingest
python main.py --analyze --display
cd curator
python main.py --device "gpu"

Checklist

  • [Y] I am familiar with the Contributing Guide.
  • [Y] New or Existing tests cover these changes.
  • [Y] The documentation is up to date with these changes.

@ruchaa-apte
Copy link
Contributor Author

pre-commit.ci autofix

Copy link

@ChrisJar ChrisJar left a 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

Copy link

@ChrisJar ChrisJar left a comment

Choose a reason for hiding this comment

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

One more thing

Copy link
Collaborator

@sarahyurick sarahyurick left a 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.

@sarahyurick
Copy link
Collaborator

If needed, could you add pdfminer.six==20221105 as a requirement for the DAPT tutorial?

ruchaa-apte and others added 13 commits April 2, 2025 12:49
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]>
@ruchaa-apte ruchaa-apte requested a review from sarahyurick April 8, 2025 00:42
@ruchaa-apte
Copy link
Contributor Author

pre-commit.ci autofix

@ruchaa-apte
Copy link
Contributor Author

pre-commit.ci autofix

@ruchaa-apte
Copy link
Contributor Author

pre-commit.ci autofix

Copy link
Collaborator

@sarahyurick sarahyurick left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@ruchaa-apte
Copy link
Contributor Author

ruchaa-apte commented Apr 29, 2025 via email

Copy link

copy-pr-bot bot commented May 5, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@sarahyurick
Copy link
Collaborator

Closing in favor of #699. Still waiting to see if the team can relax some of the requirements around signed GitHub commits...

@sarahyurick sarahyurick closed this May 8, 2025
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.

5 participants