{
  "id": 648148,
  "title": "ESM-3/Cambrian Embeddings",
  "url": "/competitions/cafa-6-protein-function-prediction/discussion/648148",
  "author_name": "Giovanni Marco Dall'Olio",
  "post_date": "2025-12-01T09:31:22.734000",
  "votes": 23,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Hi all,\nI've created a dataset containing the ESM-Cambrian embeddings for Train and Test.</p>\n<p>ESM-Cambrian is the successor of ESM2: a foundation model for protein sequences. </p>\n<p>Dataset is available here: <a href=\"https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data\" target=\"_blank\">https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data</a></p>\n<p>Notebook to generate these is here: <a href=\"https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook\" target=\"_blank\">https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook</a></p>\n<p>I thought it would be good to share these, so people don't have to compute them all over again. It takes about 2 hours of compute to convert the sequences into embeddings. I know there are some ESM2 embeddings that have already been shared, but I could not see ESM-C.</p>\n<p>More about ESM-C: <a href=\"https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12\" target=\"_blank\">https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12</a></p>",
  "messages": [
    {
      "id": 3357504,
      "postDate": "2025-12-01T09:31:22.733Z",
      "content": "<p>Hi all,\nI've created a dataset containing the ESM-Cambrian embeddings for Train and Test.</p>\n<p>ESM-Cambrian is the successor of ESM2: a foundation model for protein sequences. </p>\n<p>Dataset is available here: <a href=\"https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data\" target=\"_blank\">https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data</a></p>\n<p>Notebook to generate these is here: <a href=\"https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook\" target=\"_blank\">https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook</a></p>\n<p>I thought it would be good to share these, so people don't have to compute them all over again. It takes about 2 hours of compute to convert the sequences into embeddings. I know there are some ESM2 embeddings that have already been shared, but I could not see ESM-C.</p>\n<p>More about ESM-C: <a href=\"https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12\" target=\"_blank\">https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12</a></p>",
      "rawMarkdown": "Hi all,\nI've created a dataset containing the ESM-Cambrian embeddings for Train and Test.\n\nESM-Cambrian is the successor of ESM2: a foundation model for protein sequences. \n\nDataset is available here: https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data\n\nNotebook to generate these is here: https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook\n\n\nI thought it would be good to share these, so people don't have to compute them all over again. It takes about 2 hours of compute to convert the sequences into embeddings. I know there are some ESM2 embeddings that have already been shared, but I could not see ESM-C.\n\nMore about ESM-C: https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12",
      "votes": 23
    },
    {
      "id": 3360652,
      "postDate": "2025-12-02T12:21:48.860Z",
      "content": "<p>Thank you! Have you had any impressions of the embedding performance yet? \nFor the moment, my local validation says T5 is better then ESM2.</p>",
      "rawMarkdown": "Thank you! Have you had any impressions of the embedding performance yet? \nFor the moment, my local validation says T5 is better then ESM2.",
      "votes": 1,
      "replies": [
        {
          "id": 3368958,
          "postDate": "2025-12-09T16:31:58.003Z",
          "content": "<p>which size of the esm, the esm is not good in my test</p>",
          "rawMarkdown": "which size of the esm, the esm is not good in my test",
          "replies": [
            {
              "id": 3369768,
              "postDate": "2025-12-10T10:21:53.217Z",
              "content": "<p>Thanks for the feedback!\nShapes are <code>Embeddings shapes -&gt; Train: (82404, 320), Test: (224309, 320)</code>. </p>\n<p>I've just realized that I have used the wrong model for the notebook - <code>esm3_sm_open_v0</code> which is ESM3, not ESM-Cambrian. I think that for this scope it should not make a big difference, but I'll try to run it with ESM-C. The problem is that ESM-C requires accepting some terms and conditions, and I am not sure I can share the output in a public notebook. You can still copy the notebook and run it with any model you want.</p>",
              "rawMarkdown": "Thanks for the feedback!\nShapes are `Embeddings shapes -> Train: (82404, 320), Test: (224309, 320)`. \n\nI've just realized that I have used the wrong model for the notebook - `esm3_sm_open_v0` which is ESM3, not ESM-Cambrian. I think that for this scope it should not make a big difference, but I'll try to run it with ESM-C. The problem is that ESM-C requires accepting some terms and conditions, and I am not sure I can share the output in a public notebook. You can still copy the notebook and run it with any model you want.\n"
            },
            {
              "id": 3370010,
              "postDate": "2025-12-10T14:17:43.940Z",
              "content": "<p>got it, I just said the effect of different embedding, the esm2-15b or 3b is not better than prott5</p>",
              "rawMarkdown": "got it, I just said the effect of different embedding, the esm2-15b or 3b is not better than prott5"
            },
            {
              "id": 3370087,
              "postDate": "2025-12-10T15:08:31.367Z",
              "content": "<p>Thanks, that's a useful insight. It would be interesting to do a thorough comparison. What are you trying, out of curiosity?</p>\n<p>My approach is the following:</p>\n<ul>\n<li>compute protein embeddings</li>\n<li>compute GO embeddings (with gemma - will publish the notebook when I make it work)</li>\n<li>dual tower approach to predict closest go term</li>\n</ul>",
              "rawMarkdown": "Thanks, that's a useful insight. It would be interesting to do a thorough comparison. What are you trying, out of curiosity?\n\nMy approach is the following:\n- compute protein embeddings\n- compute GO embeddings (with gemma - will publish the notebook when I make it work)\n- dual tower approach to predict closest go term"
            },
            {
              "id": 3370106,
              "postDate": "2025-12-10T15:17:28.140Z",
              "content": "<p>your approach is wonderful. For my supervisor and a gold medal, haha</p>",
              "rawMarkdown": "your approach is wonderful. For my supervisor and a gold medal, haha"
            },
            {
              "id": 3370131,
              "postDate": "2025-12-10T15:36:02.093Z",
              "content": "<p>Thanks, but I still need to implement half of it!</p>",
              "rawMarkdown": "Thanks, but I still need to implement half of it!"
            }
          ]
        }
      ]
    },
    {
      "id": 3362051,
      "postDate": "2025-12-04T05:52:38.563Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 3360652,
      "author_name": "MT",
      "author_url": "",
      "post_date": "2025-12-02T12:21:48.860000",
      "content": "<p>Thank you! Have you had any impressions of the embedding performance yet? \nFor the moment, my local validation says T5 is better then ESM2.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3368958,
          "author_name": "common-people",
          "author_url": "",
          "post_date": "2025-12-09T16:31:58.003000",
          "content": "<p>which size of the esm, the esm is not good in my test</p>",
          "votes": 0,
          "replies": [
            {
              "id": 3369768,
              "author_name": "Giovanni Marco Dall'Olio",
              "author_url": "",
              "post_date": "2025-12-10T10:21:53.217000",
              "content": "<p>Thanks for the feedback!\nShapes are <code>Embeddings shapes -&gt; Train: (82404, 320), Test: (224309, 320)</code>. </p>\n<p>I've just realized that I have used the wrong model for the notebook - <code>esm3_sm_open_v0</code> which is ESM3, not ESM-Cambrian. I think that for this scope it should not make a big difference, but I'll try to run it with ESM-C. The problem is that ESM-C requires accepting some terms and conditions, and I am not sure I can share the output in a public notebook. You can still copy the notebook and run it with any model you want.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3370010,
              "author_name": "common-people",
              "author_url": "",
              "post_date": "2025-12-10T14:17:43.940000",
              "content": "<p>got it, I just said the effect of different embedding, the esm2-15b or 3b is not better than prott5</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3370087,
              "author_name": "Giovanni Marco Dall'Olio",
              "author_url": "",
              "post_date": "2025-12-10T15:08:31.367000",
              "content": "<p>Thanks, that's a useful insight. It would be interesting to do a thorough comparison. What are you trying, out of curiosity?</p>\n<p>My approach is the following:</p>\n<ul>\n<li>compute protein embeddings</li>\n<li>compute GO embeddings (with gemma - will publish the notebook when I make it work)</li>\n<li>dual tower approach to predict closest go term</li>\n</ul>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3370106,
              "author_name": "common-people",
              "author_url": "",
              "post_date": "2025-12-10T15:17:28.140000",
              "content": "<p>your approach is wonderful. For my supervisor and a gold medal, haha</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3370131,
              "author_name": "Giovanni Marco Dall'Olio",
              "author_url": "",
              "post_date": "2025-12-10T15:36:02.093000",
              "content": "<p>Thanks, but I still need to implement half of it!</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3362051,
      "author_name": "",
      "author_url": "",
      "post_date": "2025-12-04T05:52:38.563000",
      "content": "",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3357504": "Hi all,\nI've created a dataset containing the ESM-Cambrian embeddings for Train and Test.\n\nESM-Cambrian is the successor of ESM2: a foundation model for protein sequences. \n\nDataset is available here: https://www.kaggle.com/datasets/dalloliogm/cafa6-esm-cambrian-embeddings/data/data/data\n\nNotebook to generate these is here: https://www.kaggle.com/code/dalloliogm/compute-protein-embeddings-with-esm2-esm-c/notebook\n\n\nI thought it would be good to share these, so people don't have to compute them all over again. It takes about 2 hours of compute to convert the sequences into embeddings. I know there are some ESM2 embeddings that have already been shared, but I could not see ESM-C.\n\nMore about ESM-C: https://huggingface.co/EvolutionaryScale/esmc-600m-2024-12",
    "3360652": "Thank you! Have you had any impressions of the embedding performance yet? \nFor the moment, my local validation says T5 is better then ESM2.",
    "3362051": ""
  }
}