{
  "id": 568039,
  "title": "Starter Notebooks: Uploading New Models for Inference",
  "url": "/competitions/stanford-rna-3d-folding/discussion/568039",
  "author_name": "",
  "post_date": "2025-03-13T13:40:48.250064900Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>The starter training &amp; inference notebooks are very helpful - thank you!</p>\n<p>Here's a newbie question:<br>\nI want to make modifications to the training (RibonanzaNet 3D Finetune) notebook &amp; upload the modified .pt files in /kaggle/input/ribonanzanet-3d-finetune to perform inference using the modified model. Is there a handy \"how to\" to update the inference notebook (RibonanzaNet 3D Inference) inputs to accomplish this?</p>",
  "messages": [
    {
      "id": "3148751",
      "postDate": "03/13/2025 13:40:48",
      "content": "<p>The starter training &amp; inference notebooks are very helpful - thank you!</p>\n<p>Here's a newbie question:<br>\nI want to make modifications to the training (RibonanzaNet 3D Finetune) notebook &amp; upload the modified .pt files in /kaggle/input/ribonanzanet-3d-finetune to perform inference using the modified model. Is there a handy \"how to\" to update the inference notebook (RibonanzaNet 3D Inference) inputs to accomplish this?</p>",
      "rawMarkdown": "The starter training & inference notebooks are very helpful - thank you!\n\nHere's a newbie question:\nI want to make modifications to the training (RibonanzaNet 3D Finetune) notebook & upload the modified .pt files in /kaggle/input/ribonanzanet-3d-finetune to perform inference using the modified model. Is there a handy \"how to\" to update the inference notebook (RibonanzaNet 3D Inference) inputs to accomplish this?",
      "votes": null
    },
    {
      "id": "3161132",
      "postDate": "03/27/2025 14:58:21",
      "content": "<p>Thank you, <a href=\"https://www.kaggle.com/fae\" target=\"_blank\">@fae</a> gaze!  </p>\n<p>Fae Gaze<br>\nPosted 2 days ago</p>\n<p>Yes, you can absolutely do that! Just upload your modified .pt file to a new Kaggle dataset (or replace the one in /kaggle/input/ribonanzanet-3d-finetune), and in the inference notebook, update the torch.load() path to point to your new model file. Make sure the model architecture in the inference script matches what you used during training. Once that’s set, it should work smoothly</p>",
      "rawMarkdown": "Thank you, @fae gaze!  \n\n\nFae Gaze\nPosted 2 days ago\n\nYes, you can absolutely do that! Just upload your modified .pt file to a new Kaggle dataset (or replace the one in /kaggle/input/ribonanzanet-3d-finetune), and in the inference notebook, update the torch.load() path to point to your new model file. Make sure the model architecture in the inference script matches what you used during training. Once that’s set, it should work smoothly",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3161132,
      "author_name": "matucker",
      "author_url": "",
      "post_date": "03/27/2025 14:58:21",
      "content": "<p>Thank you, <a href=\"https://www.kaggle.com/fae\" target=\"_blank\">@fae</a> gaze!  </p>\n<p>Fae Gaze<br>\nPosted 2 days ago</p>\n<p>Yes, you can absolutely do that! Just upload your modified .pt file to a new Kaggle dataset (or replace the one in /kaggle/input/ribonanzanet-3d-finetune), and in the inference notebook, update the torch.load() path to point to your new model file. Make sure the model architecture in the inference script matches what you used during training. Once that’s set, it should work smoothly</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3148751": "The starter training & inference notebooks are very helpful - thank you!\n\nHere's a newbie question:\nI want to make modifications to the training (RibonanzaNet 3D Finetune) notebook & upload the modified .pt files in /kaggle/input/ribonanzanet-3d-finetune to perform inference using the modified model. Is there a handy \"how to\" to update the inference notebook (RibonanzaNet 3D Inference) inputs to accomplish this?",
    "3161132": "Thank you, @fae gaze!  \n\n\nFae Gaze\nPosted 2 days ago\n\nYes, you can absolutely do that! Just upload your modified .pt file to a new Kaggle dataset (or replace the one in /kaggle/input/ribonanzanet-3d-finetune), and in the inference notebook, update the torch.load() path to point to your new model file. Make sure the model architecture in the inference script matches what you used during training. Once that’s set, it should work smoothly"
  },
  "source": "meta"
}