ESM-2 · Protein embeddings
650M ESM-2 protein embeddings, 1280-D. API-only; a key is required.
使用说明 · Guide
它做什么:用 ESM-2 650M 给蛋白序列生成 embedding。当前输出 1280 维,支持 mean / cls pooling。
- 这个页面是 API-only:不会在页面里代持密钥,提交要走
romancohort-labskill 或/api/v1。 - 每个作业最多 64 条序列;
max_length范围 8–1022,默认 512。 - 结果直接给
embeddings,同时提供embeddings.npy、result.json和log.txt。
怎么看:embedding 是模型表示,不是结构或功能标签;不同 pooling 不能直接混用。当前是 650M / 1280 维,旧的 8M / 320 维已退役。
What it does: generates ESM-2 embeddings for protein sequences. The current model is 650M with 1280-D output and mean / cls pooling.
- This page is API-only and never holds a key. Submit with the
romancohort-labskill or/api/v1. - Up to 64 sequences per job;
max_lengthis 8–1022, default 512. - The result includes
embeddingsplusembeddings.npy,result.jsonandlog.txt.
How to read it: an embedding is a model representation, not a structure or function label; do not mix different pooling modes. The current model is 650M / 1280-D; the old 8M / 320-D model is retired.
正在检查 8025…
·
模型 ModelModel
- checkpointesm2_t33_650M_UR50D
- embedding1280-D
- poolingmean / cls
- batch≤ 64 sequences
当前只提供 650M;8M 已退役,不要在结果里写成 320 维。
API-only:页面只展示模型与调用方式,不内置免密钥提交。key 由站长发放;不要把 key 写进仓库。
调用方式 APIAPI
curl -sS -X POST https://www.romancohort.cloud/api/v1/runs \
-H "Authorization: Bearer $ROMANCOHORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tool":"esm2","params":{
"sequences":["MKTAYIAKQRQISFVKSHFSRQDILDLWIYHTQGYFP"],
"pooling":"mean","max_length":512
}}'
用 skill:
python lab.py run --tool esm2 --params esm2.json --wait --download
输出
embeddings.npyN × 1280result.jsonembeddings + metadatalog.txt运行日志