docs: bootstrap first version of customizer plugin docs#313
Conversation
📝 WalkthroughWalkthroughDocumentation-only PR that reorganizes customizer guidance under a new reference structure. Adds CLI documentation for the nemo-customizer command-line workflow, removes DPO from documented training types across multiple pages, migrates internal links from fine-tune-models and manage-jobs paths to customizer-reference equivalents, and updates navigation YAML to reflect the new hierarchy. ChangesCustomizer documentation restructuring
Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/customizer/models/data-format.mdx`:
- Line 12: The doc uses the incorrect config key `training_type`; update the
text to use the actual config key `training.type` everywhere this page
references `training_type` (e.g., the sentence starting "The required format
depends on the `training_type`"), so users are pointed to the correct job
configuration field; ensure any inline code snippets or examples also show
`training.type`.
In `@docs/fern/versions/latest.yml`:
- Around line 136-138: Remove the DPO tutorial entry from the published
navigation by deleting or commenting out the navigation block that references
"DPO Customization Job" (page: DPO Customization Job, path:
../../customizer/tutorials/dpo-customization-job.mdx, slug:
dpo-customization-job) in latest.yml so the DPO tutorial is not discoverable in
the published nav; alternatively move that block into a separate
gated/unpublished YAML file used for drafts so it stays in the repo but out of
the published navigation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: cb305a49-0f09-4ea3-bd63-1331f80603b8
📒 Files selected for processing (20)
docs/customizer/about.mdxdocs/customizer/cli.mdxdocs/customizer/index.mdxdocs/customizer/manage-customization-jobs/cancel-job.mdxdocs/customizer/manage-customization-jobs/create-job.mdxdocs/customizer/manage-customization-jobs/customization-job-reference.mdxdocs/customizer/manage-customization-jobs/get-job-status.mdxdocs/customizer/manage-customization-jobs/hyperparameters.mdxdocs/customizer/manage-customization-jobs/index.mdxdocs/customizer/manage-customization-jobs/list-active-jobs.mdxdocs/customizer/manage-model-entities/create-model-entity.mdxdocs/customizer/manage-model-entities/index.mdxdocs/customizer/models/data-format.mdxdocs/customizer/models/index.mdxdocs/customizer/tutorials/import-hf-model.mdxdocs/customizer/tutorials/index.mdxdocs/customizer/tutorials/metrics.mdxdocs/customizer/tutorials/understand-configurations-and-models.mdxdocs/fern/gated-nav.ymldocs/fern/versions/latest.yml
💤 Files with no reviewable changes (1)
- docs/fern/gated-nav.yml
|
|
||
| - **File Format**: Save your training data as `.jsonl` files (one JSON object per line). | ||
| - **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on the `training_type` (SFT, DPO) specified in your job configuration. | ||
| - **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on the `training_type` (for example, SFT) specified in your job configuration. |
There was a problem hiding this comment.
Use the correct config key name (training.type).
Line 12 says training_type, but job configuration elsewhere uses training.type. This can send users to the wrong field.
Suggested fix
-- **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on the `training_type` (for example, SFT) specified in your job configuration.
+- **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on `training.type` (for example, `sft`) specified in your job configuration.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on the `training_type` (for example, SFT) specified in your job configuration. | |
| - **Validation**: Each record is automatically validated against the appropriate schema when training begins. The required format depends on `training.type` (for example, `sft`) specified in your job configuration. |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/customizer/models/data-format.mdx` at line 12, The doc uses the
incorrect config key `training_type`; update the text to use the actual config
key `training.type` everywhere this page references `training_type` (e.g., the
sentence starting "The required format depends on the `training_type`"), so
users are pointed to the correct job configuration field; ensure any inline code
snippets or examples also show `training.type`.
| - page: DPO Customization Job | ||
| path: ../../customizer/tutorials/dpo-customization-job.mdx | ||
| slug: dpo-customization-job |
There was a problem hiding this comment.
Remove DPO tutorial from published nav.
Line 136–138 keeps DPO discoverable in latest.yml while this PR removes DPO from documented training types. Move this entry out of latest.yml (or remove it) until it is publish-ready.
As per coding guidelines, “Gated (unready) features must stay in the repo but out of the nav in docs/fern/versions/latest.yml.”
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/fern/versions/latest.yml` around lines 136 - 138, Remove the DPO
tutorial entry from the published navigation by deleting or commenting out the
navigation block that references "DPO Customization Job" (page: DPO
Customization Job, path: ../../customizer/tutorials/dpo-customization-job.mdx,
slug: dpo-customization-job) in latest.yml so the DPO tutorial is not
discoverable in the published nav; alternatively move that block into a separate
gated/unpublished YAML file used for drafts so it stays in the repo but out of
the published navigation.
Source: Coding guidelines
Signed-off-by: anubhutiv <anubhutiv@nvidia.com>
c0bd830 to
eef490e
Compare
|
🌿 Preview your docs: https://nvidia-preview-aalgo-223-update-ft-docs.docs.buildwithfern.com/nemo-platform |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/customizer/about.mdx`:
- Line 289: Replace the relative source link
"tutorials/optimize-throughput.ipynb" in docs/customizer/about.mdx with the
canonical Fern nav URL for that tutorial (use
"/documentation/tutorials/optimize-throughput"), keeping the link text
unchanged; update the markdown link target where the phrase "Optimizing for
Tokens/GPU" is referenced so the href uses the canonical /documentation/...
route instead of the relative .ipynb path to satisfy the internal-linking
guidelines.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: c6de9f28-c4ec-42cf-b0f5-0abcdd5a69c8
📒 Files selected for processing (21)
docs/customizer/about.mdxdocs/customizer/cli.mdxdocs/customizer/index.mdxdocs/customizer/manage-customization-jobs/cancel-job.mdxdocs/customizer/manage-customization-jobs/create-job.mdxdocs/customizer/manage-customization-jobs/customization-job-reference.mdxdocs/customizer/manage-customization-jobs/get-job-status.mdxdocs/customizer/manage-customization-jobs/hyperparameters.mdxdocs/customizer/manage-customization-jobs/index.mdxdocs/customizer/manage-customization-jobs/list-active-jobs.mdxdocs/customizer/manage-model-entities/create-fileset.mdxdocs/customizer/manage-model-entities/create-model-entity.mdxdocs/customizer/manage-model-entities/index.mdxdocs/customizer/models/data-format.mdxdocs/customizer/models/index.mdxdocs/customizer/tutorials/import-hf-model.mdxdocs/customizer/tutorials/index.mdxdocs/customizer/tutorials/metrics.mdxdocs/customizer/tutorials/understand-configurations-and-models.mdxdocs/fern/gated-nav.ymldocs/fern/versions/latest.yml
💤 Files with no reviewable changes (2)
- docs/customizer/manage-model-entities/create-fileset.mdx
- docs/fern/gated-nav.yml
✅ Files skipped from review due to trivial changes (9)
- docs/customizer/tutorials/import-hf-model.mdx
- docs/customizer/manage-model-entities/index.mdx
- docs/customizer/tutorials/understand-configurations-and-models.mdx
- docs/customizer/tutorials/index.mdx
- docs/customizer/models/index.mdx
- docs/customizer/tutorials/metrics.mdx
- docs/customizer/index.mdx
- docs/customizer/manage-customization-jobs/hyperparameters.mdx
- docs/customizer/cli.mdx
🚧 Files skipped from review as they are similar to previous changes (2)
- docs/customizer/models/data-format.mdx
- docs/fern/versions/latest.yml
| ) | ||
| ``` | ||
|
|
||
| Learn how to create a LoRA customization job with sequence packing by following the [Optimizing for Tokens/GPU](tutorials/optimize-throughput.ipynb) tutorial. |
There was a problem hiding this comment.
Replace the relative tutorial link with a canonical Fern nav URL.
Line 289 links to tutorials/optimize-throughput.ipynb, which is a relative source-style path and can fail Fern link checks/build. Use the canonical /documentation/... route for that tutorial instead. As per coding guidelines, "Internal links must use canonical nav URLs like /documentation/get-started/core-concepts/workspaces, not relative .md/source paths. make docs-broken-links is the check."
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/customizer/about.mdx` at line 289, Replace the relative source link
"tutorials/optimize-throughput.ipynb" in docs/customizer/about.mdx with the
canonical Fern nav URL for that tutorial (use
"/documentation/tutorials/optimize-throughput"), keeping the link text
unchanged; update the markdown link target where the phrase "Optimizing for
Tokens/GPU" is referenced so the href uses the canonical /documentation/...
route instead of the relative .ipynb path to satisfy the internal-linking
guidelines.
Source: Coding guidelines
|
Summary by CodeRabbit