AmelieSchreiber
commited on
Commit
•
2d760c3
1
Parent(s):
27d2c5d
Update README.md
Browse files
README.md
CHANGED
@@ -83,7 +83,7 @@ def generate_peptide(input_seqs, peptide_length=15, top_k=3, num_binders=4):
|
|
83 |
results.append([seq, binder, ppl])
|
84 |
return pd.DataFrame(results, columns=['Input Sequence', 'Binder', 'Pseudo Perplexity'])
|
85 |
|
86 |
-
model = EsmForMaskedLM.from_pretrained("
|
87 |
tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t33_650M_UR50D")
|
88 |
|
89 |
protein_seq = "MAPLRKTYVLKLYVAGNTPNSVRALKTLNNILEKEFKGVYALKVIDVLKNPQLAEEDKILATPTLAKVLPPPVRRIIGDLSNREKVLIGLDLLYEEIGDQAEDDLGLE"
|
|
|
83 |
results.append([seq, binder, ppl])
|
84 |
return pd.DataFrame(results, columns=['Input Sequence', 'Binder', 'Pseudo Perplexity'])
|
85 |
|
86 |
+
model = EsmForMaskedLM.from_pretrained("AmelieSchreiber/PepMLM_v0")
|
87 |
tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t33_650M_UR50D")
|
88 |
|
89 |
protein_seq = "MAPLRKTYVLKLYVAGNTPNSVRALKTLNNILEKEFKGVYALKVIDVLKNPQLAEEDKILATPTLAKVLPPPVRRIIGDLSNREKVLIGLDLLYEEIGDQAEDDLGLE"
|