render equations in markdown files#1721
Merged
wanghan-iapcm merged 11 commits intodeepmodeling:develfrom May 21, 2022
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #1721 +/- ##
=======================================
Coverage 76.11% 76.11%
=======================================
Files 95 95
Lines 7929 7929
=======================================
Hits 6035 6035
Misses 1894 1894 Continue to review full report at Codecov.
|
wanghan-iapcm
approved these changes
May 20, 2022
|
|
||
| where $L_e$, $L_f$, and $L_v$ denote the loss in energy, force and virial, respectively. $p_e$, $p_f$, and $p_v$ give the prefactors of the energy, force and virial losses. The prefectors may not be a constant, rather it changes linearly with the learning rate. Taking the force prefactor for example, at training step $t$, it is given by | ||
|
|
||
| $$p_f(t) = p_f^0 \frac{ \alpha(t) }{ \alpha(0) } + p_f^\infty ( 1 - \frac{ \alpha(t) }{ \alpha(0) })$$ |
Collaborator
There was a problem hiding this comment.
We shall tell the user start_pref_f, and so on..
Collaborator
There was a problem hiding this comment.
or we do not use latex math here.
| where `t` is the training step. | ||
| * During the training, the learning rate decays exponentially from `start_lr` to `stop_lr` following the formula: | ||
|
|
||
| $$ \alpha(t) = \alpha_0 \lambda ^ { t / \tau } $$ |
Collaborator
There was a problem hiding this comment.
Again we shell tell the user start_lr. Or we do not use latex math.
mingzhong15
pushed a commit
to mingzhong15/deepmd-kit
that referenced
this pull request
Jan 15, 2023
* render equations in markdown files * enable dollarmath in the sphinx * fix Angstrom sybol; it's not supported by mathjax * fix equations of the learning rate * fix equations * fix equations * fix equations * fix equations * Update lammps-command.md * use \cdots for ... * add the detailed keys
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.
See https://github.blog/changelog/2022-05-19-render-mathematical-expressions-in-markdown/