Skip to content

Commit fa46d4d

Browse files
committed
Adding more detailed references/citations
1 parent 8d70433 commit fa46d4d

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

pypef/llm/esm_lora_tune.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55
# MIT License
66
# Copyright (c) Meta Platforms, Inc. and affiliates.
77
# https://github.com/facebookresearch/esm
8+
# ESM1v model publication:
9+
# Joshua Meier, Roshan Rao, Robert Verkuil, Jason Liu, Tom Sercu, Alexander Rives
10+
# Language models enable zero-shot prediction of the effects of mutations on protein function
11+
# bioRxiv 2021.07.09.450648; doi: https://doi.org/10.1101/2021.07.09.450648
812

913
# Inspired by ConFit
1014
# https://github.com/luo-group/ConFit
1115

16+
1217
from __future__ import annotations
1318

1419
import torch

pypef/llm/prosst_lora_tune.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33

44
# Using (training, testing/infering) ProSST model(s) published under
55
# GNU GENERAL PUBLIC LICENSE: GPL-3.0 license
6-
# https://github.com/ai4protein/ProSST
7-
#import warnings
8-
#warnings.filterwarnings('error')
6+
# Code repository: https://github.com/ai4protein/ProSST
7+
# Mingchen Li, Pan Tan, Xinzhu Ma, Bozitao Zhong, Huiqun Yu, Ziyi Zhou, Wanli Ouyang, Bingxin Zhou, Liang Hong, Yang Tan
8+
# ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
9+
# bioRxiv 2024.04.15.589672; doi: https://doi.org/10.1101/2024.04.15.589672
10+
911

1012
from sys import path
1113
import os

pypef/llm/prosst_structure/encoder/gvp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
# Using (training, testing/infering) ProSST model(s) published under
66
# GNU GENERAL PUBLIC LICENSE: GPL-3.0 license
7-
# https://github.com/ai4protein/ProSST
7+
# Code repository: https://github.com/ai4protein/ProSST
8+
# Mingchen Li, Pan Tan, Xinzhu Ma, Bozitao Zhong, Huiqun Yu, Ziyi Zhou, Wanli Ouyang, Bingxin Zhou, Liang Hong, Yang Tan
9+
# ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
10+
# bioRxiv 2024.04.15.589672; doi: https://doi.org/10.1101/2024.04.15.589672
811

912

1013
import torch

pypef/llm/prosst_structure/encoder/layer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
# Using (training, testing/infering) ProSST model(s) published under
66
# GNU GENERAL PUBLIC LICENSE: GPL-3.0 license
7-
# https://github.com/ai4protein/ProSST
7+
# Code repository: https://github.com/ai4protein/ProSST
8+
# Mingchen Li, Pan Tan, Xinzhu Ma, Bozitao Zhong, Huiqun Yu, Ziyi Zhou, Wanli Ouyang, Bingxin Zhou, Liang Hong, Yang Tan
9+
# ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
10+
# bioRxiv 2024.04.15.589672; doi: https://doi.org/10.1101/2024.04.15.589672
811

912

1013
import torch, functools

pypef/llm/prosst_structure/quantizer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
# Using (training, testing/infering) ProSST model(s) published under
66
# GNU GENERAL PUBLIC LICENSE: GPL-3.0 license
7-
# https://github.com/ai4protein/ProSST
7+
# Code repository: https://github.com/ai4protein/ProSST
8+
# Mingchen Li, Pan Tan, Xinzhu Ma, Bozitao Zhong, Huiqun Yu, Ziyi Zhou, Wanli Ouyang, Bingxin Zhou, Liang Hong, Yang Tan
9+
# ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
10+
# bioRxiv 2024.04.15.589672; doi: https://doi.org/10.1101/2024.04.15.589672
811

912

1013
import biotite

0 commit comments

Comments
 (0)