Skip to content

docs: refresh project landing pages - #5951

Open
njzjz wants to merge 11 commits into
deepmodeling:masterfrom
njzjz:docs/refactor-readme
Open

docs: refresh project landing pages#5951
njzjz wants to merge 11 commits into
deepmodeling:masterfrom
njzjz:docs/refactor-readme

Conversation

@njzjz

@njzjz njzjz commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace the repository README with a Markdown-first landing page that prominently highlights pretrained DPA models and the current DeePMD-kit feature set.
  • Route feature-level calls to action to the hosted documentation while keeping runnable examples in the repository.
  • Preserve the theme-aware logo plus the DOI and live citation-count badges for the three general software publications.
  • Refresh the documentation homepage with responsive Sphinx Design cards, model guidance, data-to-dynamics navigation, and the complete general software citations.
  • Keep the change isolated to README.md and doc/index.rst to avoid conflicts with other documentation work.

Validation

  • ruff check .
  • ruff format .
  • Repository Markdown and whitespace hooks
  • git diff --check
  • Minimal Sphinx 9.1 HTML build with sphinx-design
  • Verified all hosted documentation links and citation badge endpoints referenced by the README return HTTP 200

Fixes #5240

Coding agent: Codex
Codex version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning effort: xhigh

Summary by CodeRabbit

  • Documentation
    • Rewrote the README with an accessible overview of capabilities, model families, supported backends, workflows, installation, quick starts, pretrained models, integrations, licensing, and references.
    • Replaced the documentation landing page with structured guidance for installation, training, deployment, physics features, and recent developments.
    • Improved navigation with card-based sections, clearer guide categories, project details, generated indices, and search access.
  • References
    • Added citations for the Deep Potential representation and DeePCG coarse-grained model.

Highlight pretrained models and the current DeePMD-kit feature set with Markdown-first repository and documentation landing pages.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
Copilot AI review requested due to automatic review settings August 1, 2026 09:18
@dosubot dosubot Bot added the Docs label Aug 1, 2026
@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The README and Sphinx landing page were rewritten as structured DeePMD-kit overviews. They now cover capabilities, workflows, installation, pretrained models, integrations, references, licensing, and documentation navigation.

Changes

Documentation homepage refresh

Layer / File(s) Summary
README overview and workflow
README.md
The README now describes capabilities, model families, backend support, deployment options, and the workflow from data preparation through simulation.
README usage and resources
README.md
The README adds installation, training, pretrained-model, inference, integration, documentation, citation, licensing, and reference content.
Sphinx landing page and navigation
doc/index.rst
The documentation landing page now contains structured overview content, navigation cards, workflow guidance, model comparisons, licensing, citations, and updated index navigation.
Citation references
CITATIONS.bib
BibTeX entries were added for the 2018 Deep Potential and DeePCG articles.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the README and documentation homepage refresh.
Linked Issues check ✅ Passed The README and documentation homepage prominently feature pretrained models and provide usage guidance and links as requested in issue #5240.
Out of Scope Changes check ✅ Passed The changes are limited to landing-page documentation and supporting citation entries, with no unrelated code changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 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 `@doc/index.rst`:
- Around line 243-255: Update the homepage to include a visible root navigation
entry covering Getting Started, User Guide, Tutorials and Publications,
Developer Guide, and Project Details. Remove or replace the hidden-only root
toctree declarations in doc/index.rst, preserving their existing section targets
and labels so all listed sections appear in the global navigation.

In `@README.md`:
- Around line 73-77: Update the README installation instructions so the default
command uses a pinned package-manager or container artifact instead of piping
the unpinned dp1s.deepmodeling.com script directly to bash. If retaining the
installer, reference a versioned artifact and document checksum or signature
verification before execution.
- Line 5: Update the tagline heading in README.md from H3 to H2, changing “###
From first-principles data to scalable molecular dynamics—through one open
framework” to use “##” so the document outline follows the H1.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ea56284b-d5e8-4099-8808-0477be7307e4

📥 Commits

Reviewing files that changed from the base of the PR and between cc689a7 and 5146353.

📒 Files selected for processing (2)
  • README.md
  • doc/index.rst

Comment thread doc/index.rst Outdated
Comment thread README.md Outdated
Comment thread README.md
Keep the responsive picture element for light and dark logo variants while retaining Markdown for the rest of the README.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refreshes the repository and documentation landing pages to better highlight DeePMD-kit’s modern Deep Potential model portfolio and pretrained DPA workflows, while routing most calls-to-action to the hosted docs.

Changes:

  • Replaces README.md with a docs-forward landing page featuring pretrained models, a guided workflow overview, and updated navigation links.
  • Rebuilds doc/index.rst into a card-based Sphinx Design homepage with clearer “choose your path” navigation and curated highlights.
  • Adjusts Sphinx index to use hidden toctrees and modern section structure while keeping existing doc entry points.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md New Markdown-first repo homepage emphasizing pretrained DPA models, workflow overview, and hosted-docs navigation.
doc/index.rst New Sphinx landing page using responsive cards/grids and reorganized entry points for key docs sections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Copilot AI review requested due to automatic review settings August 1, 2026 09:22
Restore the three general DeePMD-kit software references and DOI links on the documentation landing page while retaining the method-specific citation guide.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread doc/index.rst Outdated
Copilot AI review requested due to automatic review settings August 1, 2026 09:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Restore the DOI and live citation-count badges for all three general DeePMD-kit publications in the README.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
Copilot AI review requested due to automatic review settings August 1, 2026 09:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Restore the original download and status badges, keep the tagline out of the heading hierarchy, and preserve the documentation homepage's numbered global navigation.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
Copilot AI review requested due to automatic review settings August 1, 2026 09:47
Remove the unpinned remote installer from the repository landing page and route readers to the maintained backend-specific installation guide.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (5)

README.md:45

  • Same as above: > [!TIP] is GitHub-specific and will display verbatim on PyPI/other Markdown renderers. Switching to a plain > **Tip:** ... keeps the callout readable everywhere.
> [!TIP]
> On supported descriptors and workloads, [model compression][compression] can
> deliver more than **10× inference speedup** and reduce memory usage by as much
> as **20×**. Actual gains depend on the model, system, and hardware.

README.md:177

  • > [!NOTE] is also GitHub-specific. If README.md is consumed outside GitHub (e.g., PyPI via the configured README metadata), this will render as literal [!NOTE] text rather than a callout. Use a plain blockquote label for portability.

> [!NOTE]
> Working with an AI coding or scientific agent? DeePMD-kit ships
> [official Agent Skills][agent-skills] for model selection, training,

README.md:24

  • The GitHub-flavored admonition marker (> [!IMPORTANT]) is not part of standard Markdown and renders as literal text on PyPI/other renderers (this repo publishes README.md to PyPI via scikit-build-core fancy_pypi_readme). Consider using a renderer-agnostic blockquote label so the emphasis survives everywhere.

This issue also appears in the following locations of the same file:

  • line 42
  • line 174
> [!IMPORTANT]
> DeePMD-kit turns quantum-mechanical reference data into fast, scalable
> interatomic potentials. It combines modern Deep Potential architectures,
> multiple machine-learning backends, adaptation workflows, and
> simulation-ready deployment in one open-source toolkit.

README.md:74

  • The quick-install guidance currently promotes a curl | bash pipeline as the “fastest installation path”. That pattern is inherently risky because it executes remote content without review; it would be safer to add an explicit note to review the script (or point to the installer details) before running.
DeePMD-kit requires Python 3.10 or later. Choose the supported package for your

README.md:57

  • The Mermaid diagram will render on GitHub, but it won’t render on PyPI and some other Markdown targets (this repo publishes README.md to PyPI via fancy_pypi_readme). Consider adding a short plain-text fallback immediately after the diagram, or replacing the Mermaid block with a simple Markdown list so the workflow remains readable everywhere.
```mermaid
flowchart LR
    A["Reference data"] --> B["Train or adapt"]
    B --> C["Test, compress, export"]
    C --> D["Python and native APIs"]

Copilot AI review requested due to automatic review settings August 1, 2026 09:51
Keep the repository homepage aligned with the maintained installation guide by restoring the official dp1s quick-install command.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 1, 2026 09:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Keep the theme-aware README logo linked to the hosted logo usage guide instead of the general documentation landing page.

Coding-Agent: Codex
Codex-Version: codex-cli 0.144.6
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
Copilot AI review requested due to automatic review settings August 1, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.23%. Comparing base (721f586) to head (20b636a).
⚠️ Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5951      +/-   ##
==========================================
+ Coverage   79.16%   79.23%   +0.06%     
==========================================
  Files        1068     1073       +5     
  Lines      123852   125299    +1447     
  Branches     4522     4564      +42     
==========================================
+ Hits        98053    99286    +1233     
- Misses      24181    24371     +190     
- Partials     1618     1642      +24     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@njzjz njzjz added this to the v3.2.0 milestone Aug 1, 2026
Comment thread README.md Outdated

| | Advantage | What it unlocks |
| --- | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 🧠 | **Modern model portfolio** | Start with efficient DeepPot-SE descriptors or move to [DPA-1, DPA-2, DPA-3, and DPA-4/SeZM][model-guide] for attention, message passing, large atomic models, and SO(3)-equivariant learning. |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
| 🧠 | **Modern model portfolio** | Start with efficient DeepPot-SE descriptors or move to [DPA-1, DPA-2, DPA-3, and DPA-4/SeZM][model-guide] for attention, message passing, large atomic models, and SO(3)-equivariant learning. |
| 🧠 | **Modern model portfolio** | Start with efficient DeepPot-SE descriptors or move to [DPA][model-guide] for large atomic models. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Applied. The "Modern model portfolio" row now links [DPA][model-guide] and mentions large atomic models, dropping the per-model enumeration.

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread doc/index.rst Outdated
:link-type: doc
:shadow: md

Compare DeepPot-SE, DPA-1, DPA-2, DPA-3, DPA-4/SeZM, and specialized

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Compare DeepPot-SE, DPA-1, DPA-2, DPA-3, DPA-4/SeZM, and specialized
Compare DeepPot-SE, DPA-1, DPA-2, DPA-3, DPA-4 and specialized

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Applied. The card now reads "Compare DeepPot-SE, DPA-1, DPA-2, DPA-3, DPA-4, and specialized physics models."

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread doc/index.rst

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do not use dpa4/sezm, use dpa4 instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Replaced every "DPA-4/SeZM" / "DPA-4 / SeZM" mention with "DPA-4" across doc/index.rst and README.md.

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread README.md Outdated
The goal of Deep Potential is to employ deep learning techniques and realize an inter-atomic potential energy model that is general, accurate, computationally efficient and scalable. The key component is to respect the extensive and symmetry-invariant properties of a potential energy model by assigning a local reference frame and a local environment to each atom. Each environment contains a finite number of atoms, whose local coordinates are arranged in a symmetry-preserving way. These local coordinates are then transformed, through a sub-network, to so-called _atomic energy_. Summing up all the atomic energies gives the potential energy of the system.
- [DPA-3 water training](./examples/water/dpa3/input_torch.json)
- [DPA-4/SeZM water training](./examples/water/dpa4/input.json)
- [PyTorch multi-task training](./examples/water_multi_task/pytorch_example/input_torch.json)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- [PyTorch multi-task training](./examples/water_multi_task/pytorch_example/input_torch.json)
- [Multi-task training](./examples/water_multi_task/pytorch_example/input_torch.json)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Applied: the bullet now reads "Multi-task training".

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread README.md
- C API to interface with the third-party packages.
potential = DeepPot("DPA-3.2-5M")
```

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

add a subsection here shortly describe how to finetune.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added a "Fine-tune a pretrained model" subsection with a dp pretrained download + dp train input.json --finetune <path> example and links to the fine-tuning guide and DPA-ADAPT.

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread README.md Outdated
Comment on lines +127 to +133
| Family | A strong starting point when you need |
| ---------------- | ------------------------------------------------------------------------------------------------------------------ |
| **DeepPot-SE** | An efficient, established baseline with broad backend and deployment support. |
| **DPA-1** | Attention-based local representations and type embedding. |
| **DPA-2** | Multi-task pretraining, shared representations, and smooth conservative potentials. |
| **DPA-3** | Message passing over line-graph representations and broad chemical coverage. |
| **DPA-4 / SeZM** | SO(3)-equivariant learning, LoRA fine-tuning, optional ZBL bridging, spin support, and compiled `.pt2` deployment. |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

information is not useful for beginners. better to remove.

actually, we do not need to list all the models. the dpa4 IS the model for large atomistic models , while dpa4c is for distillation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Removed the per-model "Choose a model family" table and replaced it with a short paragraph: DeepPot-SE as the default, DPA-4 as the model for large atomistic models, with a pointer to the model guide for comparison.

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

@wanghan-iapcm wanghan-iapcm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is a clear improvement and I want to say that first -- the old README had become a chronological artifact, and reorganising around what a reader is trying to do, with feature detail pushed to the hosted docs rather than duplicated in-repo, is the right call. Confining the change to two files to avoid conflicts is also appreciated.

I checked the substantive claims rather than the prose. Everything I could falsify holds: dp pretrained download DPA-3.2-5M and DeepPot("DPA-3.2-5M") are both real (deepmd/main.py, deepmd/pretrained/registry.py); "Python 3.10 or later" matches requires-python; the 10x/20x compression figures are verbatim from doc/freeze/compress.md; all 28 :doc: targets, every relative example path, and all 27 hosted-doc URLs resolve; sphinx_design is in the extensions list. I also specifically checked that the doc/index.rst rewrite drops nothing structural -- the toctrees and every .. _label are byte-identical to the base, so no page became unreachable.

Two things I would like you to look at, neither of them blocking. One is a claim the doc tree contradicts, the other is content that leaves the repository entirely. Both inline.

Comment thread README.md Outdated
```
### Simulation and workflow integrations

- [LAMMPS], [i-PI][ipi], [ASE], [GROMACS],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

GROMACS does not belong in this tier.

The rewrite introduces a distinction the old README did not have: this first bullet reads as the in-tree, maintained interfaces, and the line below it separates out "Ecosystem integrations for OpenMM, Amber, CP2K, ABACUS, DP-GEN, and MLatom". But doc/third-party/gromacs.md, which this PR does not touch, opens with:

:::{deprecated} v3.2.0
The official in-tree GROMACS patch was removed from DeePMD-kit in v3.2.0 and is no longer maintained.
:::

and goes on to say DeePMD-kit "may still be used with GROMACS through third-party integrations maintained outside this repository" -- which is precisely the second bullet's category. So the new grouping tells a reader that GROMACS has the same standing as LAMMPS and ASE, when the page it leads to says the opposite.

This is introduced here rather than inherited: the old README had a single flat list ("including LAMMPS, i-PI, AMBER, CP2K, GROMACS, OpenMM, and ABACUS") that made no maintenance claim either way. Adding the tiering is an improvement; GROMACS just landed on the wrong side of it.

Two mitigations I weighed and do not think close it: doc/third-party/index.rst still lists gromacs in the same toctree as the live pages, but a toctree is navigation, not a status claim; and the sentence below does point at the integration hub "for maintained interfaces ... and supported scope", which hedges but does not undo the grouping. Moving GROMACS to the ecosystem bullet should be all it needs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Moved GROMACS from the maintained-interface bullet to the ecosystem-integration bullet, consistent with its deprecation status in doc/third-party/gromacs.md.

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

Comment thread README.md
# Contributing
If DeePMD-kit contributes to published work, cite the general software paper
that matches the version used and the method-specific papers listed in
[CITATIONS.bib](./CITATIONS.bib):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This line is where a small content loss becomes visible.

The removed "Highlights in major versions" section carried the repository's only references to two foundational papers -- [1]: https://arxiv.org/abs/1707.01478 (the original Deep Potential paper) and [4]: https://aip.scitation.org/doi/full/10.1063/1.5027645 (DeePCG). I checked whether they survive anywhere: git grep -lI "1707.01478" and git grep -lI "5027645" each match README.md and nothing else, and neither DOI appears in CITATIONS.bib or under doc/. After this PR they are gone from the repo.

That makes this sentence's advice unfollowable for those two methods specifically: it directs the reader to the method-specific papers in CITATIONS.bib, which does not contain them.

The DeePCG one costs a little more than a citation. The deleted paragraph ("In addition to building up potential energy models, DeePMD-kit can also be used to build up coarse-grained models...") is the only place in the repository that mentions coarse-grained modelling at all -- git grep -i "coarse.grain" over doc/ and deepmd/ returns nothing. So a documented capability disappears along with its reference.

The other two footnotes are fine and I am not asking about them: [2] PhysRevLett.120.143001 is in CITATIONS.bib as Zhang_PhysRevLett_2018_v120_p143001, and [3] arXiv:1805.09003 survives in doc/model/train-se-e2-a.md. (Worth noting [1] and [2] are different papers, not a preprint/published pair -- the old README's own prose distinguishes them.)

Adding the two entries to CITATIONS.bib would close this without putting any of the removed prose back, which I assume is what you want.

Separately and much smaller, since it is the same section: the removed "See our v2 paper for details of all features until v2.2.3 / ... until v3.0" lines were the only text mapping each general software paper to the version range it covers, and doc/credits.rst does not supply it either. The instruction just above to cite "the general software paper that matches the version used" is now hard to act on from the README alone. A short parenthetical after each entry would do it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Restored the lost references: added the Deep Potential paper (arXiv:1707.01478) and the DeePCG paper (10.1063/1.5027645) to CITATIONS.bib, and added version-range parentheticals to each software-paper entry (initial version / until v2.2.3 / until v3.0).

Coding agent: opencode
opencode version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning effort: max

- rename DPA-4/SeZM to DPA-4
- prune per-model table for beginners; note finetune subsection
- move GROMACS to ecosystem integrations tier
- restore lost citation entries (Deep Potential, DeePCG) in CITATIONS.bib
- add version-range parentheticals to citation list

Coding-Agent: opencode
opencode-Version: 1.18.9
Model: ustc/deepseek-v4-flash
Reasoning-Effort: max
Copilot AI review requested due to automatic review settings August 2, 2026 13:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (1)

CITATIONS.bib:93

  • The PR description says the change is isolated to README.md and doc/index.rst, but this PR also modifies CITATIONS.bib (adds new references). This can affect review scope and conflict risk for parallel documentation work.
@article{Han_CommunComputPhys_2018_v23_p629,
  annote       = {Deep Potential},
  title        = {
    {Deep Potential: A General Representation of a Many-Body Potential Energy
    Surface}

@njzjz
njzjz requested a review from wanghan-iapcm August 2, 2026 15:35

@iProzd iProzd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The requested landing-page follow-ups are otherwise addressed: the DPA-4 naming, model-selection simplification, GROMACS tiering, and restored foundational citations all look good. One blocking issue remains in the new fine-tuning quick start: it dispatches the downloaded PyTorch checkpoint to the default TensorFlow backend.

Comment thread README.md Outdated
- Plugin mechanisms for external models.
```bash
dp pretrained download DPA-3.2-5M
dp train input.json --finetune <path-to-downloaded-model>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This command selects TensorFlow by default (deepmd/main.py), while DPA-3.2-5M downloads as a PyTorch .pt checkpoint. As written, the copy-paste example dispatches to the wrong trainer and cannot fine-tune the advertised model. Please make the PyTorch route explicit (at minimum, dp --pt train ...) and align the remaining arguments with the documented DPA3 fine-tuning workflow, including the appropriate pretrained-script/branch choice when using this built-in multi-task checkpoint.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks, fixed in c440a4a. DPA-3.2-5M is a PyTorch multi-task checkpoint, so the example now uses dp --pt train and selects a task branch with --model-branch (listable via dp --pt show <path> model-branch).

Copilot AI review requested due to automatic review settings August 3, 2026 13:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (1)

CITATIONS.bib:103

  • The PR description says the change is isolated to README.md and doc/index.rst, but this PR also adds new entries to CITATIONS.bib. That’s a mismatch for reviewers and for conflict avoidance with other documentation work.

Please either (a) update the PR description/scope to explicitly include CITATIONS.bib changes, or (b) move these citation additions into a separate PR if you want to keep this one scoped to landing pages only.

@article{Han_CommunComputPhys_2018_v23_p629,
  annote       = {Deep Potential},
  title        = {
    {Deep Potential: A General Representation of a Many-Body Potential Energy
    Surface}
  },
  author       = {Jiequn Han and Linfeng Zhang and Roberto Car and Weinan E},
  journal      = {Commun. Comput. Phys.},
  year         = 2018,
  volume       = 23,
  number       = 3,
  pages        = {629--639},
  doi          = {10.4208/cicp.OA-2017-0213},
  url          = {https://arxiv.org/abs/1707.01478},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight Pre-trained Models on Repository Homepage

5 participants