There was an error while loading. Please reload this page.
1 parent 6003805 commit 2e778a3Copy full SHA for 2e778a3
src/boltz_binder_design/losses/esm.py
@@ -10,6 +10,16 @@
10
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
# See the License for the specific language governing permissions and
12
# limitations under the License.
13
+#
14
15
16
+# Pseudo-likelihood for the ESM-2 masked language model
17
18
+# Usage:
19
+# import esm2quinox
20
+# import esm
21
+# torch_model, _ = esm.pretrained.esm2_t33_650M_UR50D()
22
+# ESM2PLL = ESM2PseudoLikelihood(esm2quinox.from_torch(torch_model))
23
24
import jax
25
import numpy as np
0 commit comments