mirror of
https://github.com/evolutionaryscale/esm.git
synced 2026-06-04 17:14:23 +08:00
Pin tutorial pip-install lines + ESM3_README to commit SHA
This commit is contained in:
@@ -97,7 +97,7 @@ Note that our API migrated from forge.evolutionaryscale.ai to [biohub.ai](https:
|
||||
To get started with ESM, install the python library using `pip`:
|
||||
|
||||
```
|
||||
pip install "esm @ git+https://github.com/Biohub/esm.git@c94ed8d763bbd7088b296949e5b401e8ea12073a"
|
||||
pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d
|
||||
```
|
||||
|
||||
Then import the necessary libraries and instantiate your desired model.
|
||||
@@ -221,7 +221,7 @@ with open("1mht_pred.cif", "w") as f:
|
||||
Install the `esm` Python package
|
||||
|
||||
```
|
||||
pip install "esm @ git+https://github.com/Biohub/esm.git@c94ed8d763bbd7088b296949e5b401e8ea12073a"
|
||||
pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d
|
||||
```
|
||||
|
||||
Import the necessary libraries.
|
||||
|
||||
@@ -34,7 +34,7 @@ The code for ESM3 is available from Github and weights for esm3-sm-open-v1 is av
|
||||
First install the python library using `pip`:
|
||||
|
||||
```
|
||||
pip install esm
|
||||
pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d
|
||||
```
|
||||
|
||||
Then import the necessary libraries and instantiate your model. Use your token from the [Biohub platform](https://biohub.ai")
|
||||
@@ -54,7 +54,7 @@ The following code demonstrates how to run ESM3 locally and generate a simple se
|
||||
First install the python library using `pip`:
|
||||
|
||||
```
|
||||
pip install esm
|
||||
pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d
|
||||
```
|
||||
|
||||
Then import the necessary libraries for your model.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"%set_env TOKENIZERS_PARALLELISM=false\n",
|
||||
"!pip install esm\n",
|
||||
"!pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"import numpy as np\n",
|
||||
"import torch\n",
|
||||
"\n",
|
||||
|
||||
@@ -23,8 +23,9 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# ! pip install esm\n",
|
||||
"# ! pip install matplotlib"
|
||||
"# ! pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# ! pip install matplotlib\n",
|
||||
"# ! pip install seaborn\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"source": [
|
||||
"%set_env TOKENIZERS_PARALLELISM=false\n",
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm\n",
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# !pip install py3Dmol\n",
|
||||
"\n",
|
||||
"import numpy as np\n",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# # If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm\n",
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# !pip install py3dmol"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm"
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm\n",
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# !pip install py3dmol"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm\n",
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# !pip install py3dmol"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# ! pip install esm\n",
|
||||
"# ! pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# ! pip install py3Dmol\n",
|
||||
"# ! pip install matplotlib\n",
|
||||
"# ! pip install dna-features-viewer"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# If you are working in colab, uncomment these lines to install dependencies\n",
|
||||
"# !pip install esm\n",
|
||||
"# !pip install esm@git+https://github.com/Biohub/esm.git@c94ed8d\n",
|
||||
"# !pip install py3Dmol\n",
|
||||
"\n",
|
||||
"from IPython.display import clear_output\n",
|
||||
|
||||
Reference in New Issue
Block a user