Commit ·
da3461f
1
Parent(s): 3335a8a
upload
Browse files
README.md
CHANGED
|
@@ -12,9 +12,6 @@ protenrich = AutoModel.from_pretrained("SaeedLab/ProtEnrich-ESMC-600M", trust_re
|
|
| 12 |
seqs = "MKTFFVLLL"
|
| 13 |
protein = ESMProtein(sequence=seqs)
|
| 14 |
|
| 15 |
-
seqs = [" ".join(i) for i in seqs]
|
| 16 |
-
inputs = tokenizer(seqs, return_tensors="pt", padding=True)
|
| 17 |
-
|
| 18 |
with torch.no_grad():
|
| 19 |
protein_tensor = client.encode(protein)
|
| 20 |
outputs = client.logits(
|
|
|
|
| 12 |
seqs = "MKTFFVLLL"
|
| 13 |
protein = ESMProtein(sequence=seqs)
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
with torch.no_grad():
|
| 16 |
protein_tensor = client.encode(protein)
|
| 17 |
outputs = client.logits(
|