Views
No views yet
pip install -U sentence-transformers datasets1from sentence_transformers import SentenceTransformer
2sequences = ["M S L E Q K...", "M A R N W S F R V..."]
3
4model = SentenceTransformer('monsoon-nlp/protein-matryoshka-embeddings')
5embeddings = model.encode(sentences)
6print(embeddings)| steps | cosine_pearson | cosine_spearman |
|---|---|---|
| 3000 | 0.8598688660086558 | 0.8666855900999677 |
| 6000 | 0.8692703523988448 | 0.8615673651584274 |
| 9000 | 0.8779733537629968 | 0.8754158959780602 |
| 12000 | 0.8877422045031667 | 0.8881492475969834 |
| 15000 | 0.9027359688395733 | 0.899106724739699 |
| 18000 | 0.9046675789738002 | 0.9044183600191271 |
| 21000 | 0.9165801536390973 | 0.9061381997421003 |
| 24000 | 0.9128046401341833 | 0.9076748537082228 |
| 27000 | 0.918547416546341 | 0.9127677526055185 |
| 30000 | 0.9239429677657788 | 0.9187051589781693 |