-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #578 from ACEsuit/develop
multihead finetuning
- Loading branch information
Showing
38 changed files
with
2,515 additions
and
826 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Linting and code formatting | ||
|
||
on: [] | ||
# Trigger the workflow on push or pull request, | ||
# but only for the main branch | ||
# push: | ||
# branches: [] | ||
# pull_request: | ||
# branches: [] | ||
|
||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Setup | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8.10 | ||
- name: Get cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: /opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages | ||
# Look to see if there is a cache hit for the corresponding requirements file | ||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} | ||
|
||
# Install packages | ||
- name: Install packages required for installation | ||
run: python -m pip install --upgrade pip setuptools wheel | ||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
# Check code | ||
- name: Check formatting with yapf | ||
run: python -m yapf --style=.style.yapf --diff --recursive . | ||
# - name: Lint with flake8 | ||
# run: flake8 --config=.flake8 . | ||
# - name: Check type annotations with mypy | ||
# run: mypy --config-file=.mypy.ini . | ||
|
||
- name: Test with pytest | ||
run: python -m pytest tests |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ dist/ | |
|
||
# DS_Store | ||
.DS_Store | ||
*.models | ||
*.pt | ||
/wandb | ||
*.xyz | ||
/checkpoints | ||
*.model |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
__version__ = "0.3.6" | ||
__version__ = "0.3.7" | ||
|
||
__all__ = ["__version__"] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"pbe": { | ||
"1": -1.11734008, | ||
"2": 0.00096759, | ||
"3": -0.29754725, | ||
"4": -0.01781697, | ||
"5": -0.26885011, | ||
"6": -1.26173507, | ||
"7": -3.12438806, | ||
"8": -1.54838784, | ||
"9": -0.51882044, | ||
"10": -0.01241601, | ||
"11": -0.22883163, | ||
"12": -0.00951015, | ||
"13": -0.21630193, | ||
"14": -0.8263903, | ||
"15": -1.88816619, | ||
"16": -0.89160769, | ||
"17": -0.25828273, | ||
"18": -0.04925973, | ||
"19": -0.22697913, | ||
"20": -0.0927795, | ||
"21": -2.11396364, | ||
"22": -2.50054871, | ||
"23": -3.70477179, | ||
"24": -5.60261985, | ||
"25": -5.32541181, | ||
"26": -3.52004933, | ||
"27": -1.93555024, | ||
"28": -0.9351969, | ||
"29": -0.60025846, | ||
"30": -0.1651332, | ||
"31": -0.32990651, | ||
"32": -0.77971828, | ||
"33": -1.68367812, | ||
"34": -0.76941032, | ||
"35": -0.22213843, | ||
"36": -0.0335879, | ||
"37": -0.1881724, | ||
"38": -0.06826294, | ||
"39": -2.17084228, | ||
"40": -2.28579303, | ||
"41": -3.13429753, | ||
"42": -4.60211419, | ||
"43": -3.45201492, | ||
"44": -2.38073513, | ||
"45": -1.46855515, | ||
"46": -1.4773126, | ||
"47": -0.33954585, | ||
"48": -0.16843877, | ||
"49": -0.35470981, | ||
"50": -0.83642657, | ||
"51": -1.41101987, | ||
"52": -0.65740879, | ||
"53": -0.18964571, | ||
"54": -0.00857582, | ||
"55": -0.13771876, | ||
"56": -0.03457659, | ||
"57": -0.45580806, | ||
"58": -1.3309175, | ||
"59": -0.29671824, | ||
"60": -0.30391193, | ||
"61": -0.30898427, | ||
"62": -0.25470891, | ||
"63": -8.38001538, | ||
"64": -10.38896525, | ||
"65": -0.3059505, | ||
"66": -0.30676216, | ||
"67": -0.30874667, | ||
"69": -0.25190039, | ||
"70": -0.06431414, | ||
"71": -0.31997586, | ||
"72": -3.52770927, | ||
"73": -3.54492209, | ||
"75": -4.70108713, | ||
"76": -2.88257209, | ||
"77": -1.46779304, | ||
"78": -0.50269936, | ||
"79": -0.28801193, | ||
"80": -0.12454674, | ||
"81": -0.31737194, | ||
"82": -0.77644932, | ||
"83": -1.32627283, | ||
"89": -0.26827152, | ||
"90": -0.90817426, | ||
"91": -2.47653193, | ||
"92": -4.90438537, | ||
"93": -7.63378961, | ||
"94": -10.77237713 | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.