{
  "id": 429872,
  "title": "How to combine ctc outputs?",
  "url": "/competitions/asl-fingerspelling/discussion/429872",
  "author_name": "Dylan Liu",
  "post_date": "2023-08-07T14:38:53.858000",
  "votes": 1,
  "comment_count": 3,
  "views": 0,
  "content": "<p>I'm trying to train some small ctc models and combine their outputs, but I just realized the merging is not very straightforward, arithmetic mean is obviously not a good idea. </p>\n<p>I can only find <a href=\"https://stackoverflow.com/questions/55702043/combining-the-outputs-of-multiple-models-with-ctc-output-layerensemble\" target=\"_blank\">someone's post</a> but no satisfying answer.</p>\n<p>So is there someone who have any idea? Thanks</p>",
  "messages": [
    {
      "id": 2382861,
      "postDate": "2023-08-10T04:35:41.040Z",
      "content": "<p>do you need a language model?<br>\ni  am partcipating  the bengali speech recognition.<br>\nThere , we use CTC to predict charcters first.<br>\nthen we have a language model guided  beam search to turn charcters to word.</p>",
      "rawMarkdown": "do you need a language model?\ni  am partcipating  the bengali speech recognition.\nThere , we use CTC to predict charcters first.\nthen we have a language model guided  beam search to turn charcters to word.",
      "votes": 3
    },
    {
      "id": 2378227,
      "postDate": "2023-08-07T14:38:53.857Z",
      "content": "<p>I'm trying to train some small ctc models and combine their outputs, but I just realized the merging is not very straightforward, arithmetic mean is obviously not a good idea. </p>\n<p>I can only find <a href=\"https://stackoverflow.com/questions/55702043/combining-the-outputs-of-multiple-models-with-ctc-output-layerensemble\" target=\"_blank\">someone's post</a> but no satisfying answer.</p>\n<p>So is there someone who have any idea? Thanks</p>",
      "rawMarkdown": "I'm trying to train some small ctc models and combine their outputs, but I just realized the merging is not very straightforward, arithmetic mean is obviously not a good idea. \n\nI can only find [someone's post](https://stackoverflow.com/questions/55702043/combining-the-outputs-of-multiple-models-with-ctc-output-layerensemble) but no satisfying answer.\n\nSo is there someone who have any idea? Thanks",
      "votes": 1
    },
    {
      "id": 2381478,
      "postDate": "2023-08-09T08:01:55.290Z",
      "content": "<p>In this work, element-wise multiplication is used. It seems to me that it is best to start with the first and go to the last option.<a href=\"url\" target=\"_blank\">https://www.kaggle.com/code/aleksandrkruchinin/tflite-ensemble</a></p>",
      "rawMarkdown": "In this work, element-wise multiplication is used. It seems to me that it is best to start with the first and go to the last option.[https://www.kaggle.com/code/aleksandrkruchinin/tflite-ensemble](url)",
      "votes": 2
    },
    {
      "id": 2378505,
      "postDate": "2023-08-07T17:02:11.120Z",
      "content": "<p>I have tried combine by simple avg, it improved only a bit.</p>",
      "rawMarkdown": "I have tried combine by simple avg, it improved only a bit.",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 2382861,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2023-08-10T04:35:41.040000",
      "content": "<p>do you need a language model?<br>\ni  am partcipating  the bengali speech recognition.<br>\nThere , we use CTC to predict charcters first.<br>\nthen we have a language model guided  beam search to turn charcters to word.</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 2381478,
      "author_name": "Zaakcii Ru",
      "author_url": "",
      "post_date": "2023-08-09T08:01:55.290000",
      "content": "<p>In this work, element-wise multiplication is used. It seems to me that it is best to start with the first and go to the last option.<a href=\"url\" target=\"_blank\">https://www.kaggle.com/code/aleksandrkruchinin/tflite-ensemble</a></p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 2378505,
      "author_name": "gezi",
      "author_url": "",
      "post_date": "2023-08-07T17:02:11.120000",
      "content": "<p>I have tried combine by simple avg, it improved only a bit.</p>",
      "votes": 2,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2382861": "do you need a language model?\ni  am partcipating  the bengali speech recognition.\nThere , we use CTC to predict charcters first.\nthen we have a language model guided  beam search to turn charcters to word.",
    "2378227": "I'm trying to train some small ctc models and combine their outputs, but I just realized the merging is not very straightforward, arithmetic mean is obviously not a good idea. \n\nI can only find [someone's post](https://stackoverflow.com/questions/55702043/combining-the-outputs-of-multiple-models-with-ctc-output-layerensemble) but no satisfying answer.\n\nSo is there someone who have any idea? Thanks",
    "2381478": "In this work, element-wise multiplication is used. It seems to me that it is best to start with the first and go to the last option.[https://www.kaggle.com/code/aleksandrkruchinin/tflite-ensemble](url)",
    "2378505": "I have tried combine by simple avg, it improved only a bit."
  }
}