Update README.md
Browse files
README.md
CHANGED
@@ -89,7 +89,7 @@ print(mut_dict)
|
|
89 |
|
90 |
## Get protein embeddings
|
91 |
If you want to generate protein embeddings, you could refer to the following code. The embeddings are the average of
|
92 |
-
the hidden states of the last layer.
|
93 |
```python
|
94 |
from model.saprot.base import SaprotBaseModel
|
95 |
from transformers import EsmTokenizer
|
|
|
89 |
|
90 |
## Get protein embeddings
|
91 |
If you want to generate protein embeddings, you could refer to the following code. The embeddings are the average of
|
92 |
+
the hidden states of the last layer. <font color=red>Note frozen SaProt supports SA sequence embeddings but not AA sequence embeddings.</font>
|
93 |
```python
|
94 |
from model.saprot.base import SaprotBaseModel
|
95 |
from transformers import EsmTokenizer
|