-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
8 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# New Features | ||
|
||
## Coming Soon... | ||
## 2024-06-25 | ||
|
||
Unimol_tools has been publish to pypi! Huggingface has been used to manage the pretrain models. |
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,30 @@ | ||
.. _weights: | ||
|
||
Weights | ||
======= | ||
|
||
We recommend installing ``huggingface_hub`` so that the required UniMol models can be automatically downloaded at runtime! It can be installed by: | ||
|
||
.. code-block:: bash | ||
pip install huggingface_hub | ||
``huggingface_hub`` allows you to easily download and manage models from the Hugging Face Hub, which is key for using UniMol models. | ||
|
||
Models in Huggingface | ||
--------------------- | ||
|
||
The UniMol pretrained models can be found at `dptech/Uni-Mol-Models <https://huggingface.co/dptech/Uni-Mol-Models/tree/main>`_. | ||
|
||
If the download is slow, you can use other mirrors, such as: | ||
|
||
.. code-block:: bash | ||
export HF_ENDPOINT=https://hf-mirror.com | ||
Setting the ``HF_ENDPOINT`` environment variable specifies the mirror address for the Hugging Face Hub to use when downloading models. | ||
|
||
`unimol_tools.weights.weight_hub.py <https://github.com/dptech-corp/Uni-Mol/blob/docs/unimol_tools/unimol_tools/weights/weighthub.py>`_ control the logger. | ||
|
||
.. automodule:: unimol_tools.weights.weighthub | ||
:members: |
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