Repository navigation
Conversation
…GDP.pdf) Adds the project `projects/gdp-pdf` with document preparation and three variants of task generation for a model that answers professional requests about long PDFs: `naive`, `skill` and `failure`, one author prompt with one conditioning slot. Every rubric criterion is checked against its cited pages, and tasks are filtered by the student's answers. The project ships no documents and no benchmark text. Signed-off-by: Dylan Lu <dylu@nvidia.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
dylanelu
force-pushed
the
feat/gdp-pdf
branch
from
December 2, 2026 17:49
c817e39 to
8395160
Compare
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.
What does this PR do?
Adds a project,
projects/gdp-pdf, with its first part: task generation for a model that answers professional requests about long PDFs, the setting of the GDP.pdf benchmark. The student is Nemotron 3.5 Super VL. There is no related issue; the project is new. Training on the generated tasks (RL, supervised fine-tuning) and the benchmark evaluation follow in a second pull request on top of this one.documents/preparesdg/naive,sdg/skill,sdg/failurenaive: the author is told nothing about the student.skill: which skills each task should stress.failure: the same skills, plus what the student got wrong on this document. Every criterion is source-checked against its cited pages, and tasks are filtered by the student's answersEvery step is one workflow started with
nvflow run --all --workflow gdp-pdf:<name> --cluster <cluster>; its stages wait on each other through NVFlow's dependencies and nothing keeps running on the submitting machine. Settings are workflow keys; a user's own paths go in aprivate_<name>.yamlbeside the workflow with_base_.sdg/smokeis the short form of task generation.The project ships no PDFs, no benchmark question or rubric, and no key: you supply documents, weights and an endpoint key.
Outside the project:
dockerfiles/Dockerfile.nemo-gym: the image now installs NeMo Gym's GDP.pdf environment, which document preparation and task generation use.README.md,docs/README.md: a link to the new project.tests/test_documentation.py,tests/test_dependency_platforms.py,tests/execution/test_reference_plans.py: the new project in the tests that list projects and count runnable workflows.This pull request first held task generation, RL and evaluation in one diff too large for the automated review. It now holds task generation only (about 590 KB), as one commit on current
main.Validation
Run against the final diff:
PYTHONPATH=projects/gdp-pdf uv run pytest projects/gdp-pdf/tests --no-cov: 59 passed.scripts/run_ci_test_lane.sh minimal: 2,030 passed, 21 skipped.scripts/run_ci_test_lane.sh nemo: 316 passed, 1 skipped.uv run pre-commit run --all-files: all hooks pass.nvflow validateonsdg/smoke,sdg/naive,sdg/skill,sdg/failure.Plan or run evidence
The project adds workflows and changes none. Runs on a Slurm cluster, on the final code; details are in
projects/gdp-pdf/docs/smokes.md.documents/preparesdg/smoke(hosted author and checker, CPU jobs), onenvflow run --allNot yet run:
sdg/naivein full,sdg/skill,sdg/failure, and the optional teacher stage.One limit found on the way: the hosted author cannot take a document whose page images exceed its request size (about 65 pages). Tasks on longer documents need the served author.
Compatibility
None for existing workflows, the CLI, project contracts or cluster configs. New: the project's workflows use the standard image roles (
nemo-skills,nemo-gym,vllm). Thenemo-gymimage gains the GDP.pdf environment.Checklist
scripts/run_ci_test_lane.sh nemoandscripts/run_ci_test_lane.sh minimal), or N/A for docs-only changes.uv run pre-commit run --all-files).git commit -s).