番茄红素研究所

Ziyi Yan · 吉林大学 计算机科学与技术学院 · 中国 长春

ESM-2 · 蛋白 embedding

650M ESM-2 蛋白序列 embedding,1280 维;API-only,需要密钥。

使用说明 · Guide

它做什么:用 ESM-2 650M 给蛋白序列生成 embedding。当前输出 1280 维,支持 mean / cls pooling。

  1. 这个页面是 API-only:不会在页面里代持密钥,提交要走 romancohort-lab skill 或 /api/v1。
  2. 每个作业最多 64 条序列;max_length 范围 8–1022,默认 512。
  3. 结果直接给 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.

  1. This page is API-only and never holds a key. Submit with the romancohort-lab skill or /api/v1.
  2. Up to 64 sequences per job; max_length is 8–1022, default 512.
  3. The result includes embeddings plus embeddings.npy, result.json and log.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

650M
  • checkpointesm2_t33_650M_UR50D
  • embedding1280-D
  • poolingmean / cls
  • batch≤ 64 sequences

当前只提供 650M;8M 已退役,不要在结果里写成 320 维。

API-only:页面只展示模型与调用方式,不内置免密钥提交。key 由站长发放;不要把 key 写进仓库。

调用方式 APIAPI

v1
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 × 1280
  • result.jsonembeddings + metadata
  • log.txt运行日志