{
  "id": 443485,
  "title": "Loss is small but WER is very high",
  "url": "/competitions/bengaliai-speech/discussion/443485",
  "author_name": "",
  "post_date": "2023-09-27T13:11:49.335217400Z",
  "votes": 2,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Hello everyone. I trined a model using the public pre-trained wav2vec, the training and validation loss is about 0.2 but the WER keeps on 0.8 or even higher. Is there any reasons or solutions on that？ Thanks.</p>",
  "messages": [
    {
      "id": "2458256",
      "postDate": "09/27/2023 13:11:49",
      "content": "<p>Hello everyone. I trined a model using the public pre-trained wav2vec, the training and validation loss is about 0.2 but the WER keeps on 0.8 or even higher. Is there any reasons or solutions on that？ Thanks.</p>",
      "rawMarkdown": "Hello everyone. I trined a model using the public pre-trained wav2vec, the training and validation loss is about 0.2 but the WER keeps on 0.8 or even higher. Is there any reasons or solutions on that？ Thanks.",
      "votes": null
    },
    {
      "id": "2458399",
      "postDate": "09/27/2023 15:04:43",
      "content": "<p>For supplementary information. The dataset I am using is from <a href=\"https://www.kaggle.com/datasets/umongsain/common-voice-13-bengali-normalized\" target=\"_blank\">here</a> and the pre-trained model I am using is from <a href=\"https://www.kaggle.com/datasets/nischaydnk/bengali-wav2vec2-finetuned\" target=\"_blank\">here</a>. <br>\nAnd also, this is <a href=\"https://www.kaggle.com/gehrmanyu/bengaliai-datapreprocessing\" target=\"_blank\">how</a> I preprocess the data.</p>",
      "rawMarkdown": "For supplementary information. The dataset I am using is from [here](https://www.kaggle.com/datasets/umongsain/common-voice-13-bengali-normalized) and the pre-trained model I am using is from [here](https://www.kaggle.com/datasets/nischaydnk/bengali-wav2vec2-finetuned). \nAnd also, this is [how](https://www.kaggle.com/gehrmanyu/bengaliai-datapreprocessing) I preprocess the data.",
      "votes": null
    },
    {
      "id": "2458472",
      "postDate": "09/27/2023 15:50:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/gehrmanyu\" target=\"_blank\">@gehrmanyu</a>, I also tried tuning wav2vec on same dataset, the more data I use to train from that dataset, model performance on lb kept worsening.</p>",
      "rawMarkdown": "Hi @gehrmanyu, I also tried tuning wav2vec on same dataset, the more data I use to train from that dataset, model performance on lb kept worsening.",
      "votes": null
    },
    {
      "id": "2458474",
      "postDate": "09/27/2023 15:52:28",
      "content": "<p>I also tried incorporating 5gram bin created from competition dataset</p>",
      "rawMarkdown": "I also tried incorporating 5gram bin created from competition dataset",
      "votes": null
    },
    {
      "id": "2458548",
      "postDate": "09/27/2023 16:53:31",
      "content": "<p>Yes this is excatly whay I am stuck at. I expected to use different datasets rather than the official dataset, which says there exist some problems in <a href=\"https://www.kaggle.com/competitions/bengaliai-speech/discussion/435300\" target=\"_blank\">this post</a>. But it dosen't work. I managed to increase the epoches but it didn't do any good. And now I am running out of ideas.</p>",
      "rawMarkdown": "Yes this is excatly whay I am stuck at. I expected to use different datasets rather than the official dataset, which says there exist some problems in [this post](https://www.kaggle.com/competitions/bengaliai-speech/discussion/435300). But it dosen't work. I managed to increase the epoches but it didn't do any good. And now I am running out of ideas.",
      "votes": null
    },
    {
      "id": "2459032",
      "postDate": "09/28/2023 02:28:35",
      "content": "<p>That dataset is good, so it's probably your training parameter. I don't think increasing epoch is the answer.<br>\nTry to compare it with this : <a href=\"https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745\" target=\"_blank\">https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745</a><br>\nYou may check if your wer calculation is ok</p>",
      "rawMarkdown": "That dataset is good, so it's probably your training parameter. I don't think increasing epoch is the answer.\nTry to compare it with this : https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745\nYou may check if your wer calculation is ok",
      "votes": null
    },
    {
      "id": "2459034",
      "postDate": "09/28/2023 02:38:05",
      "content": "<p>Thanks for the reply. Actually I just submit my model without my own WER calculation because it will make training way too slower. I will refer to this notebook to see if training parameters should be replaced.</p>",
      "rawMarkdown": "Thanks for the reply. Actually I just submit my model without my own WER calculation because it will make training way too slower. I will refer to this notebook to see if training parameters should be replaced.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2458399,
      "author_name": "gehrmanyu",
      "author_url": "",
      "post_date": "09/27/2023 15:04:43",
      "content": "<p>For supplementary information. The dataset I am using is from <a href=\"https://www.kaggle.com/datasets/umongsain/common-voice-13-bengali-normalized\" target=\"_blank\">here</a> and the pre-trained model I am using is from <a href=\"https://www.kaggle.com/datasets/nischaydnk/bengali-wav2vec2-finetuned\" target=\"_blank\">here</a>. <br>\nAnd also, this is <a href=\"https://www.kaggle.com/gehrmanyu/bengaliai-datapreprocessing\" target=\"_blank\">how</a> I preprocess the data.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2458472,
      "author_name": "anilreddyvv",
      "author_url": "",
      "post_date": "09/27/2023 15:50:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/gehrmanyu\" target=\"_blank\">@gehrmanyu</a>, I also tried tuning wav2vec on same dataset, the more data I use to train from that dataset, model performance on lb kept worsening.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2458474,
          "author_name": "anilreddyvv",
          "author_url": "",
          "post_date": "09/27/2023 15:52:28",
          "content": "<p>I also tried incorporating 5gram bin created from competition dataset</p>",
          "votes": null,
          "replies": [
            {
              "id": 2458548,
              "author_name": "gehrmanyu",
              "author_url": "",
              "post_date": "09/27/2023 16:53:31",
              "content": "<p>Yes this is excatly whay I am stuck at. I expected to use different datasets rather than the official dataset, which says there exist some problems in <a href=\"https://www.kaggle.com/competitions/bengaliai-speech/discussion/435300\" target=\"_blank\">this post</a>. But it dosen't work. I managed to increase the epoches but it didn't do any good. And now I am running out of ideas.</p>",
              "votes": null,
              "replies": [
                {
                  "id": 2459032,
                  "author_name": "nyleve",
                  "author_url": "",
                  "post_date": "09/28/2023 02:28:35",
                  "content": "<p>That dataset is good, so it's probably your training parameter. I don't think increasing epoch is the answer.<br>\nTry to compare it with this : <a href=\"https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745\" target=\"_blank\">https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745</a><br>\nYou may check if your wer calculation is ok</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 2459034,
                      "author_name": "gehrmanyu",
                      "author_url": "",
                      "post_date": "09/28/2023 02:38:05",
                      "content": "<p>Thanks for the reply. Actually I just submit my model without my own WER calculation because it will make training way too slower. I will refer to this notebook to see if training parameters should be replaced.</p>",
                      "votes": null,
                      "replies": []
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2458256": "Hello everyone. I trined a model using the public pre-trained wav2vec, the training and validation loss is about 0.2 but the WER keeps on 0.8 or even higher. Is there any reasons or solutions on that？ Thanks.",
    "2458399": "For supplementary information. The dataset I am using is from [here](https://www.kaggle.com/datasets/umongsain/common-voice-13-bengali-normalized) and the pre-trained model I am using is from [here](https://www.kaggle.com/datasets/nischaydnk/bengali-wav2vec2-finetuned). \nAnd also, this is [how](https://www.kaggle.com/gehrmanyu/bengaliai-datapreprocessing) I preprocess the data.",
    "2458472": "Hi @gehrmanyu, I also tried tuning wav2vec on same dataset, the more data I use to train from that dataset, model performance on lb kept worsening.",
    "2458474": "I also tried incorporating 5gram bin created from competition dataset",
    "2458548": "Yes this is excatly whay I am stuck at. I expected to use different datasets rather than the official dataset, which says there exist some problems in [this post](https://www.kaggle.com/competitions/bengaliai-speech/discussion/435300). But it dosen't work. I managed to increase the epoches but it didn't do any good. And now I am running out of ideas.",
    "2459032": "That dataset is good, so it's probably your training parameter. I don't think increasing epoch is the answer.\nTry to compare it with this : https://www.kaggle.com/code/mbmmurad/lb-0-49-wav2vec2-baseline-train-and-infer?scriptVersionId=139805745\nYou may check if your wer calculation is ok",
    "2459034": "Thanks for the reply. Actually I just submit my model without my own WER calculation because it will make training way too slower. I will refer to this notebook to see if training parameters should be replaced."
  },
  "source": "meta"
}