{
  "id": 313177,
  "title": "1st solution with code(cv:0.748 lb:0.742)",
  "content": "<p>First of all, I would like to thank the competition organizers for this great competition. At the same time, I am very grateful to many brothers for providing very good notebooks and discussions. I learned a lot from them and applied them to our final solution. </p>\n<p>In this competition, because each token needs to be combined into a sentence as the final result, in order to reduce post-processing, we divide our solution into two stages</p>\n<h1>stage 1: bert token prediction</h1>\n<p>First thanks to the excellent notebooks and discussions <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> <a href=\"https://www.kaggle.com/abhishek\" target=\"_blank\">@abhishek</a> <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> and others<br>\n<a href=\"https://www.kaggle.com/cdeotte/tensorflow-longformer-ner-cv-0-633\" target=\"_blank\">https://www.kaggle.com/cdeotte/tensorflow-longformer-ner-cv-0-633</a> <br>\n<a href=\"https://www.kaggle.com/abhishek/two-longformers-are-better-than-1\" target=\"_blank\">https://www.kaggle.com/abhishek/two-longformers-are-better-than-1</a><br>\n<a href=\"https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold\" target=\"_blank\">https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold</a><br>\n<a href=\"https://www.kaggle.com/c/feedback-prize-2021/discussion/297591\" target=\"_blank\">https://www.kaggle.com/c/feedback-prize-2021/discussion/297591</a><br>\n<a href=\"https://www.kaggle.com/c/feedback-prize-2021/discussion/308992\" target=\"_blank\">https://www.kaggle.com/c/feedback-prize-2021/discussion/308992</a><br>\netc…</p>\n<p>we tried various pretrain models, since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing, Finally we choice longformer-large,  roberta-large, deberta-xxlarge, distilbart_mnli_12_9, bart_large_finetuned_squadv1 for ensemble. This stage takes 7 hours online, and <strong>cv score 0.712</strong>, <strong>lb score 0.706</strong> with post-processing.</p>\n<p>here is each pretrain model cv score:<br>\n<a href=\"https://postimg.cc/c6hTg2qd\" target=\"_blank\"><img src=\"https://i.postimg.cc/wT8rPY0R/1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png\" alt=\"1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png\"></a><br>\nWe put the bert training code <a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">here</a>, Because the kaggle online resources are insufficient, you need to copy it to your own machine for training</p>\n<h1>stage 2: lgb sentence prediction</h1>\n<p>Thanks <a href=\"https://www.kaggle.com/chasembowers\" target=\"_blank\">@chasembowers</a> for the excellent notebook <a href=\"https://www.kaggle.com/chasembowers/sequence-postprocessing-v2-67-lb\" target=\"_blank\">https://www.kaggle.com/chasembowers/sequence-postprocessing-v2-67-lb</a></p>\n<p>we first recall as many candidate samples as possible by lowering the threshold. On the training set, we recall three million samples to achieve a mean of 95% of recalls, the recalls for each class are </p>\n<table>\n<thead>\n<tr>\n<th>class</th>\n<th>recall</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Claim</td>\n<td>0.938</td>\n</tr>\n<tr>\n<td>Concluding Statement</td>\n<td>0.972</td>\n</tr>\n<tr>\n<td>Counterclaim</td>\n<td>0.906</td>\n</tr>\n<tr>\n<td>Evidence</td>\n<td>0.974</td>\n</tr>\n<tr>\n<td>Lead</td>\n<td>0.970</td>\n</tr>\n<tr>\n<td>Position</td>\n<td>0.928</td>\n</tr>\n<tr>\n<td>Rebuttal</td>\n<td>0.895</td>\n</tr>\n</tbody>\n</table>\n<p>in addition, after getting the recall samples, we select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample, this method can help improve score about 0.008. Finally, We made about 170 features for lgb training, and select some samples as the final submission. This stage takes 1.5 hours online, and <strong>cv score 0.748</strong>, <strong>lb score 0.742</strong>.</p>\n<p>We tested our lgb on the 5 fold longformer model, and the score increased from <a href=\"https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\" target=\"_blank\">0.697</a> to <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727\" target=\"_blank\">0.727</a>. Because lgb is not trained on this prediction, the improvement will be lower than the actual. At the same time, we uploaded our model ensemble results <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv748\" target=\"_blank\">here</a>. If you are interested, you can replace the prediction results with your own to see how much the cv score can improve.</p>\n<h1>Summarize</h1>\n<p><strong>useful attempt:</strong><br>\n1、adversarial learning (awp/fgm): cv increase 0.01，lb 5fold ensemble increase 0.003.<br>\n2、model ensemble:  single model lb 0.691, model ensemble 0.706, longformer and deberta ensemble increase most.<br>\n3、lgb sentence prediction: cv increase 0.036, lb increase 0.036,  among this, select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample can increase 0.008</p>\n<p><strong>useless attempt:</strong><br>\n1、add paragraph information to input<br>\n2、back translation<br>\n3、adjust the weight according to the position of the sentence in which the word is located<br>\n4、lgb model use overlap percentage as label to train<br>\n5、stage 2 use bert to predict and ensemble with lgb</p>\n<p><strong>code:</strong><br>\nlongformer train: <a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-nn-train</a><br>\nlgb train: <a href=\"https://www.kaggle.com/wht1996/feedback-lgb-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-lgb-train</a><br>\n5fold longfomer with post-processing(lb 0.697): <a href=\"https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697</a><br>\n5fold longfomer with lgb(lb 0.727): <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727</a><br>\ncv ensemble with lgb(cv 0.747): <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747</a></p>\n<p>Our code and data is published on GitHub <a href=\"https://github.com/antmachineintelligence/Feedback_1st\" target=\"_blank\">here</a></p>",
  "comments": [
    {
      "id": 1724125,
      "author_name": "hengck23",
      "author_url": "",
      "post_date": "2022-03-16T03:15:16.237000",
      "content": "<p>[posiition/] Congratulations on you and yuor taem! [/posiition] <br>\n[claim] It is a well-deserved suesccs.[/claim] <br>\n[evidence]There have been much epinxteerms dnoe and thnak you for srihnag yuor rsteuls. [/evidence]<br>\nIt is ncie to see new mdeohts lkie araisdeavrl lenirang. <br>\n[conclusion]I wlil try it out![/conclusion]</p>\n<p><a href=\"https://imgbb.com/\"><img src=\"https://i.ibb.co/TPsXyQH/thumbs-up-icon-126802.png\" alt=\"thumbs-up-icon-126802\"></a></p>",
      "votes": 42,
      "replies": []
    },
    {
      "id": 1724206,
      "author_name": "KhanhVD",
      "author_url": "",
      "post_date": "2022-03-16T04:43:08.710000",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and team. Great work!</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 1724029,
      "author_name": "老肥",
      "author_url": "",
      "post_date": "2022-03-16T01:23:05.237000",
      "content": "<p>lgb great again.</p>\n<p>Amazing!</p>",
      "votes": 4,
      "replies": []
    },
    {
      "id": 1725089,
      "author_name": "@kaggleqrdl",
      "author_url": "",
      "post_date": "2022-03-16T19:46:53.890000",
      "content": "<p>Very very nice architecture.  Intuitions were excellent.  I am looking forward to further and deeper analysis of this code as it is 'productized' for the OS community.   I strongly encourage you to put this all on Github and contribute a paper to Arvix.  You've done great work here.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1725099,
          "author_name": "@kaggleqrdl",
          "author_url": "",
          "post_date": "2022-03-16T19:55:29.567000",
          "content": "<p>One question, which pipeline would you say best describes your code:</p>\n<p>Bert (low threshold, high recall) -&gt; span selection -&gt; span manipulation.  </p>\n<p>or</p>\n<p>Bert (low threshold, high recall) -&gt;  span manipulation -&gt; span selection</p>\n<p>Back propegating through the pipeline is an interesting problem space.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1725333,
          "author_name": "(⊙﹏⊙)",
          "author_url": "",
          "post_date": "2022-03-17T02:24:58.760000",
          "content": "<p>I think it is Bert (low threshold, high recall) -&gt; span manipulation -&gt; span selection</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1724102,
      "author_name": "jenny",
      "author_url": "",
      "post_date": "2022-03-16T02:50:36.430000",
      "content": "<p>Congrats for your big win with such a huge score-lead on LB! <br>\nCan't believe yyds-LGB in the 2nd stage can bring such considerable improvement. </p>\n<p><code>Because the kaggle online resources are insufficient, you need to copy it to your own machine for training</code></p>\n<p>BTW: can you briefly explain your local resource and running time for training? Thanks!</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1724136,
          "author_name": "(⊙﹏⊙)",
          "author_url": "",
          "post_date": "2022-03-16T03:30:33.463000",
          "content": "<p>A longformer-large model requires 4 A100s to train for about 5 hours, and a deberta-xxlarge model requires 4 A100s to train for about 24 hours</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1724186,
          "author_name": "Nicholas Broad",
          "author_url": "",
          "post_date": "2022-03-16T04:17:35.160000",
          "content": "<p>4x A100 for 24 hours on jarvislabs would be 4*$2.39/hr*24 hours = $230</p>\n<h1>😲</h1>\n<p>I guess your prize money will cover this 😁</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1724057,
      "author_name": "小白Lan",
      "author_url": "",
      "post_date": "2022-03-16T02:10:10.177000",
      "content": "<p>my dear dalao, plz accept my knees….LGB YYDS！</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1724047,
      "author_name": "Ethan",
      "author_url": "",
      "post_date": "2022-03-16T01:45:58.507000",
      "content": "<p>Congrats! I learn a lot from your solution!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1724041,
      "author_name": "chizhu",
      "author_url": "",
      "post_date": "2022-03-16T01:39:52.670000",
      "content": "<p>LGB yyds!!!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1724032,
      "author_name": "RB",
      "author_url": "",
      "post_date": "2022-03-16T01:24:50.797000",
      "content": "<p>Congratulations and thank you for the writeup . Could you please elaborate on </p>\n<blockquote>\n  <p>since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing</p>\n</blockquote>\n<p>what does segmented prediction and splicing mean ?  Is this same as window striding ? </p>",
      "votes": 1,
      "replies": [
        {
          "id": 1724040,
          "author_name": "(⊙﹏⊙)",
          "author_url": "",
          "post_date": "2022-03-16T01:39:16.427000",
          "content": "<p>like this<a href=\"https://postimg.cc/mPWM0XQv\" target=\"_blank\"><img src=\"https://i.postimg.cc/y8kP32W8/image.png\" alt=\"image.png\"></a></p>",
          "votes": 4,
          "replies": []
        },
        {
          "id": 1724042,
          "author_name": "Nicholas Broad",
          "author_url": "",
          "post_date": "2022-03-16T01:41:27.087000",
          "content": "<p>How do you combine the two sequences? Averaging the overlap?</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1724062,
          "author_name": "(⊙﹏⊙)",
          "author_url": "",
          "post_date": "2022-03-16T02:14:43.553000",
          "content": "<p>It's similar to the simple average. A little optimization is added. See the code for details.<br>\n<a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-nn-train</a></p>\n<pre><code>if i == 0: \n    preds = logits\nelse:\n    if i == (loops-1):\n        if i==1:  \n            inter_length = loops_end[0]-loops_start[-1]\n            weight = torch.floor_divide(torch.arange(inter_length), inter_length-1).reshape(1,-1,1).to(device)\n            intersection = preds[:,start:]*(1-weight) + logits[:,:inter_length]*(weight)\n            preds = torch.cat([preds[:,:start],intersection,logits[:,inter_length:]],dim=1)\n        else: \n            preds = torch.cat([preds[:,:start],logits],dim=1)\n    else:\n        preds = torch.cat([preds,logits[:,duplicate_cnt:]],dim=1)\n</code></pre>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 1724038,
      "author_name": "Nicholas Broad",
      "author_url": "",
      "post_date": "2022-03-16T01:37:23.547000",
      "content": "<p>Would you be able to explain the AWP model or point to a resource explaining it? <br>\nedit: never mind I found this: <a href=\"https://arxiv.org/abs/2004.05884\" target=\"_blank\">https://arxiv.org/abs/2004.05884</a></p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 2897239,
      "author_name": "DUENkk",
      "author_url": "",
      "post_date": "2024-06-30T10:55:54.440000",
      "content": "<p>congrats!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1783633,
      "author_name": "Zheng Zhao",
      "author_url": "",
      "post_date": "2022-05-10T14:39:14.167000",
      "content": "<p>Congrats! I learn a lot from your solution!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1737281,
      "author_name": "Shilida",
      "author_url": "",
      "post_date": "2022-03-28T09:50:47.867000",
      "content": "<p>LGB yyds Amazing!!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1737218,
      "author_name": "Jyotirmoy Bandyopadhayaya",
      "author_url": "",
      "post_date": "2022-03-28T08:35:41.017000",
      "content": "<p>Great job. Well Done on your submission for the same </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1736775,
      "author_name": "Parv Yadav",
      "author_url": "",
      "post_date": "2022-03-27T18:06:20.300000",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and thanks for sharing!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1736639,
      "author_name": "egoriya",
      "author_url": "",
      "post_date": "2022-03-27T14:56:29.980000",
      "content": "<p>Nice job man!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1735169,
      "author_name": "stallone",
      "author_url": "",
      "post_date": "2022-03-25T23:49:20.417000",
      "content": "<p>nice solution</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1734126,
      "author_name": "HieuGN",
      "author_url": "",
      "post_date": "2022-03-25T02:40:43.347000",
      "content": "<p>perfect !!!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1734032,
      "author_name": "Swarup Sahoo",
      "author_url": "",
      "post_date": "2022-03-24T22:30:30.790000",
      "content": "<p>Thank you for the details! Great analysis.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733763,
      "author_name": "m_ouballa",
      "author_url": "",
      "post_date": "2022-03-24T15:37:29.827000",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and team. Great work!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733638,
      "author_name": "Veronika Chernova",
      "author_url": "",
      "post_date": "2022-03-24T13:22:43.100000",
      "content": "<p>Thank you for sharing! <br>\nI try to use some code from your notebook.<br>\nWhat does kfold_ids.pkl mean? I understand that there are 5 folds, but I can't understand why each fold in this file have two arrays with ids.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1734472,
          "author_name": "(⊙﹏⊙)",
          "author_url": "",
          "post_date": "2022-03-25T11:30:22.783000",
          "content": "<p>One is the id of the training set and the other is the id of the validation set</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1733555,
      "author_name": "yin huaihong",
      "author_url": "",
      "post_date": "2022-03-24T11:58:46.643000",
      "content": "<p>Congratulations! many thanks for  your sharing</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733071,
      "author_name": " KyleChen陳柏元",
      "author_url": "",
      "post_date": "2022-03-24T01:46:41.463000",
      "content": "<p>Looks great!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733031,
      "author_name": "JotaCe7",
      "author_url": "",
      "post_date": "2022-03-24T00:37:43.023000",
      "content": "<p>Hello dear Kaggle community! My name is Jose!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1732497,
      "author_name": "Ashish Kapoor",
      "author_url": "",
      "post_date": "2022-03-23T12:57:43.840000",
      "content": "<p>congrats! </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1732431,
      "author_name": "Tarek Ghanoum",
      "author_url": "",
      "post_date": "2022-03-23T11:31:10.483000",
      "content": "<p>Great work!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1732258,
      "author_name": "Hans Ma",
      "author_url": "",
      "post_date": "2022-03-23T07:08:31.807000",
      "content": "<p>Amazing!!!!!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1731975,
      "author_name": "Beatriz Velasco",
      "author_url": "",
      "post_date": "2022-03-22T22:51:14.747000",
      "content": "<p>congratsss</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1731731,
      "author_name": "Scott Obsniuk",
      "author_url": "",
      "post_date": "2022-03-22T16:31:25.983000",
      "content": "<p>👍👍👍👍👍👍👍👍👍👍👍👍👍👍</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1731235,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-22T06:14:20.220000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1731179,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-22T04:23:55.260000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1730935,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-21T19:39:32.420000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1730915,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-21T18:47:22.387000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1730464,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-21T09:43:48.383000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1729621,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-20T09:46:37.513000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1728094,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T15:22:53.930000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727754,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T08:41:44.650000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727725,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T07:56:29.773000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727555,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T03:53:02.887000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727538,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T03:30:31.477000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727495,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T02:41:14.513000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1726023,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T15:31:08.877000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1725597,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T08:45:08.913000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1725295,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T01:37:37.910000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1725711,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-17T11:02:02.467000",
          "content": "",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1725752,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-17T12:06:45.177000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1725291,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T01:36:13.180000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1725714,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-17T11:02:59.143000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1725218,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T23:24:17.200000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724914,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T16:17:54.900000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724904,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T16:03:22.357000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724883,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T15:45:20.797000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724881,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T15:45:10.580000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724804,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T14:24:00.730000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724675,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T12:45:25.840000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724650,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T12:19:00.823000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724649,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T12:18:21.917000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724640,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T12:12:34.590000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1725341,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-17T02:44:09.807000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1724638,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T12:07:15.940000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724492,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T09:26:40.760000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724508,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T09:33:33.827000",
          "content": "",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 1724423,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T08:37:02.843000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724328,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T07:30:59.993000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724669,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T12:36:48.267000",
          "content": "",
          "votes": 3,
          "replies": []
        },
        {
          "id": 1724786,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T14:07:04.743000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1724821,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T14:37:39.893000",
          "content": "",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 1724303,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T06:56:30.830000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724293,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T06:45:06.577000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724196,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T04:30:50.277000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724149,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T03:42:44.340000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724094,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:44:58.140000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724079,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:27:43.923000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724087,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:38:29.100000",
          "content": "",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1724092,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:43:36.947000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1724098,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:49:20.113000",
          "content": "",
          "votes": 7,
          "replies": []
        }
      ]
    },
    {
      "id": 1724078,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:27:03.823000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724076,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:26:41.213000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724070,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:20:18.457000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724075,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:26:23.767000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1724068,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:18:55.607000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724074,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:25:32.627000",
          "content": "",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1724108,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:58:18.173000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1724116,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T03:06:23.817000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1729217,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-19T19:17:41.713000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1724054,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T02:08:59.837000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724034,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T01:31:23.517000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 1724044,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T01:42:16.263000",
          "content": "",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1724069,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-03-16T02:19:02.250000",
          "content": "",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1724033,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T01:28:52.567000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724027,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T01:19:45.477000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1730523,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-21T11:40:08.870000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727798,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T10:11:49.657000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724287,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T06:37:11.883000",
      "content": "",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1775333,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-05-02T22:42:52.560000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1734066,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-25T00:02:09.497000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733659,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-24T13:47:04.867000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1733022,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-24T00:17:04.427000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1731300,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-22T08:07:06.050000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1729809,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-20T14:46:32.483000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1728032,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T14:36:17.583000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1727578,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-18T04:44:22.513000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1726232,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T19:30:10.317000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1725332,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-17T02:24:05.563000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724977,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T17:27:40.073000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1724111,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-03-16T03:01:21.963000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "comment_count": 114,
  "messages": [
    {
      "id": 1724024,
      "postDate": "2022-03-16T01:14:05.163Z",
      "content": "<p>First of all, I would like to thank the competition organizers for this great competition. At the same time, I am very grateful to many brothers for providing very good notebooks and discussions. I learned a lot from them and applied them to our final solution. </p>\n<p>In this competition, because each token needs to be combined into a sentence as the final result, in order to reduce post-processing, we divide our solution into two stages</p>\n<h1>stage 1: bert token prediction</h1>\n<p>First thanks to the excellent notebooks and discussions <a href=\"https://www.kaggle.com/cdeotte\" target=\"_blank\">@cdeotte</a> <a href=\"https://www.kaggle.com/abhishek\" target=\"_blank\">@abhishek</a> <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> and others<br>\n<a href=\"https://www.kaggle.com/cdeotte/tensorflow-longformer-ner-cv-0-633\" target=\"_blank\">https://www.kaggle.com/cdeotte/tensorflow-longformer-ner-cv-0-633</a> <br>\n<a href=\"https://www.kaggle.com/abhishek/two-longformers-are-better-than-1\" target=\"_blank\">https://www.kaggle.com/abhishek/two-longformers-are-better-than-1</a><br>\n<a href=\"https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold\" target=\"_blank\">https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold</a><br>\n<a href=\"https://www.kaggle.com/c/feedback-prize-2021/discussion/297591\" target=\"_blank\">https://www.kaggle.com/c/feedback-prize-2021/discussion/297591</a><br>\n<a href=\"https://www.kaggle.com/c/feedback-prize-2021/discussion/308992\" target=\"_blank\">https://www.kaggle.com/c/feedback-prize-2021/discussion/308992</a><br>\netc…</p>\n<p>we tried various pretrain models, since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing, Finally we choice longformer-large,  roberta-large, deberta-xxlarge, distilbart_mnli_12_9, bart_large_finetuned_squadv1 for ensemble. This stage takes 7 hours online, and <strong>cv score 0.712</strong>, <strong>lb score 0.706</strong> with post-processing.</p>\n<p>here is each pretrain model cv score:<br>\n<a href=\"https://postimg.cc/c6hTg2qd\" target=\"_blank\"><img src=\"https://i.postimg.cc/wT8rPY0R/1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png\" alt=\"1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png\"></a><br>\nWe put the bert training code <a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">here</a>, Because the kaggle online resources are insufficient, you need to copy it to your own machine for training</p>\n<h1>stage 2: lgb sentence prediction</h1>\n<p>Thanks <a href=\"https://www.kaggle.com/chasembowers\" target=\"_blank\">@chasembowers</a> for the excellent notebook <a href=\"https://www.kaggle.com/chasembowers/sequence-postprocessing-v2-67-lb\" target=\"_blank\">https://www.kaggle.com/chasembowers/sequence-postprocessing-v2-67-lb</a></p>\n<p>we first recall as many candidate samples as possible by lowering the threshold. On the training set, we recall three million samples to achieve a mean of 95% of recalls, the recalls for each class are </p>\n<table>\n<thead>\n<tr>\n<th>class</th>\n<th>recall</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Claim</td>\n<td>0.938</td>\n</tr>\n<tr>\n<td>Concluding Statement</td>\n<td>0.972</td>\n</tr>\n<tr>\n<td>Counterclaim</td>\n<td>0.906</td>\n</tr>\n<tr>\n<td>Evidence</td>\n<td>0.974</td>\n</tr>\n<tr>\n<td>Lead</td>\n<td>0.970</td>\n</tr>\n<tr>\n<td>Position</td>\n<td>0.928</td>\n</tr>\n<tr>\n<td>Rebuttal</td>\n<td>0.895</td>\n</tr>\n</tbody>\n</table>\n<p>in addition, after getting the recall samples, we select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample, this method can help improve score about 0.008. Finally, We made about 170 features for lgb training, and select some samples as the final submission. This stage takes 1.5 hours online, and <strong>cv score 0.748</strong>, <strong>lb score 0.742</strong>.</p>\n<p>We tested our lgb on the 5 fold longformer model, and the score increased from <a href=\"https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\" target=\"_blank\">0.697</a> to <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727\" target=\"_blank\">0.727</a>. Because lgb is not trained on this prediction, the improvement will be lower than the actual. At the same time, we uploaded our model ensemble results <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv748\" target=\"_blank\">here</a>. If you are interested, you can replace the prediction results with your own to see how much the cv score can improve.</p>\n<h1>Summarize</h1>\n<p><strong>useful attempt:</strong><br>\n1、adversarial learning (awp/fgm): cv increase 0.01，lb 5fold ensemble increase 0.003.<br>\n2、model ensemble:  single model lb 0.691, model ensemble 0.706, longformer and deberta ensemble increase most.<br>\n3、lgb sentence prediction: cv increase 0.036, lb increase 0.036,  among this, select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample can increase 0.008</p>\n<p><strong>useless attempt:</strong><br>\n1、add paragraph information to input<br>\n2、back translation<br>\n3、adjust the weight according to the position of the sentence in which the word is located<br>\n4、lgb model use overlap percentage as label to train<br>\n5、stage 2 use bert to predict and ensemble with lgb</p>\n<p><strong>code:</strong><br>\nlongformer train: <a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-nn-train</a><br>\nlgb train: <a href=\"https://www.kaggle.com/wht1996/feedback-lgb-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-lgb-train</a><br>\n5fold longfomer with post-processing(lb 0.697): <a href=\"https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697</a><br>\n5fold longfomer with lgb(lb 0.727): <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727</a><br>\ncv ensemble with lgb(cv 0.747): <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747</a></p>\n<p>Our code and data is published on GitHub <a href=\"https://github.com/antmachineintelligence/Feedback_1st\" target=\"_blank\">here</a></p>",
      "rawMarkdown": "First of all, I would like to thank the competition organizers for this great competition. At the same time, I am very grateful to many brothers for providing very good notebooks and discussions. I learned a lot from them and applied them to our final solution. \n\nIn this competition, because each token needs to be combined into a sentence as the final result, in order to reduce post-processing, we divide our solution into two stages\n\n# stage 1: bert token prediction\nFirst thanks to the excellent notebooks and discussions @cdeotte @abhishek @hengck23 and others\nhttps://www.kaggle.com/cdeotte/tensorflow-longformer-ner-cv-0-633 \nhttps://www.kaggle.com/abhishek/two-longformers-are-better-than-1\nhttps://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold\nhttps://www.kaggle.com/c/feedback-prize-2021/discussion/297591\nhttps://www.kaggle.com/c/feedback-prize-2021/discussion/308992\netc...\n\nwe tried various pretrain models, since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing, Finally we choice longformer-large,  roberta-large, deberta-xxlarge, distilbart_mnli_12_9, bart_large_finetuned_squadv1 for ensemble. This stage takes 7 hours online, and **cv score 0.712**, **lb score 0.706** with post-processing.\n\nhere is each pretrain model cv score:\n[![1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png](https://i.postimg.cc/wT8rPY0R/1647309894393-e37bd0b0-7aac-45e6-a7d0-d749e3a10fb2.png)](https://postimg.cc/c6hTg2qd)\nWe put the bert training code [here](https://www.kaggle.com/wht1996/feedback-nn-train), Because the kaggle online resources are insufficient, you need to copy it to your own machine for training\n\n# stage 2: lgb sentence prediction\nThanks @chasembowers for the excellent notebook https://www.kaggle.com/chasembowers/sequence-postprocessing-v2-67-lb\n\nwe first recall as many candidate samples as possible by lowering the threshold. On the training set, we recall three million samples to achieve a mean of 95% of recalls, the recalls for each class are \n| class | recall  |\n| --- | --- |\n| Claim | 0.938 |\n| Concluding Statement | 0.972 |\n| Counterclaim | 0.906 |\n| Evidence | 0.974 |\n| Lead | 0.970 |\n| Position | 0.928 |\n| Rebuttal | 0.895 |\n\nin addition, after getting the recall samples, we select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample, this method can help improve score about 0.008. Finally, We made about 170 features for lgb training, and select some samples as the final submission. This stage takes 1.5 hours online, and **cv score 0.748**, **lb score 0.742**.\n\nWe tested our lgb on the 5 fold longformer model, and the score increased from [0.697](https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697) to [0.727](https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727). Because lgb is not trained on this prediction, the improvement will be lower than the actual. At the same time, we uploaded our model ensemble results [here](https://www.kaggle.com/wht1996/feedback-two-stage-cv748). If you are interested, you can replace the prediction results with your own to see how much the cv score can improve.\n\n# Summarize\n**useful attempt:**\n1、adversarial learning (awp/fgm): cv increase 0.01，lb 5fold ensemble increase 0.003.\n2、model ensemble:  single model lb 0.691, model ensemble 0.706, longformer and deberta ensemble increase most.\n3、lgb sentence prediction: cv increase 0.036, lb increase 0.036,  among this, select sample with high boundary threshold and choice 65% length with the highest probability of the current class as a new sample can increase 0.008\n\n**useless attempt:**\n1、add paragraph information to input\n2、back translation\n3、adjust the weight according to the position of the sentence in which the word is located\n4、lgb model use overlap percentage as label to train\n5、stage 2 use bert to predict and ensemble with lgb\n\n**code:**\nlongformer train: https://www.kaggle.com/wht1996/feedback-nn-train\nlgb train: https://www.kaggle.com/wht1996/feedback-lgb-train\n5fold longfomer with post-processing(lb 0.697): https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\n5fold longfomer with lgb(lb 0.727): https://www.kaggle.com/wht1996/feedback-two-stage-lb0-727\ncv ensemble with lgb(cv 0.747): https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\n\nOur code and data is published on GitHub [here](https://github.com/antmachineintelligence/Feedback_1st)",
      "votes": 282
    },
    {
      "id": 1724125,
      "postDate": "2022-03-16T03:15:16.237Z",
      "content": "<p>[posiition/] Congratulations on you and yuor taem! [/posiition] <br>\n[claim] It is a well-deserved suesccs.[/claim] <br>\n[evidence]There have been much epinxteerms dnoe and thnak you for srihnag yuor rsteuls. [/evidence]<br>\nIt is ncie to see new mdeohts lkie araisdeavrl lenirang. <br>\n[conclusion]I wlil try it out![/conclusion]</p>\n<p><a href=\"https://imgbb.com/\"><img src=\"https://i.ibb.co/TPsXyQH/thumbs-up-icon-126802.png\" alt=\"thumbs-up-icon-126802\"></a></p>",
      "rawMarkdown": "[posiition/] Congratulations on you and yuor taem! [/posiition] \n[claim] It is a well-deserved suesccs.[/claim] \n[evidence]There have been much epinxteerms dnoe and thnak you for srihnag yuor rsteuls. [/evidence]\nIt is ncie to see new mdeohts lkie araisdeavrl lenirang. \n[conclusion]I wlil try it out![/conclusion]\n\n<a href=\"https://imgbb.com/\"><img src=\"https://i.ibb.co/TPsXyQH/thumbs-up-icon-126802.png\" alt=\"thumbs-up-icon-126802\" border=\"0\"></a>\n",
      "votes": 42
    },
    {
      "id": 1724206,
      "postDate": "2022-03-16T04:43:08.710Z",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and team. Great work!</p>",
      "rawMarkdown": "Congrats @wht1996 and team. Great work!",
      "votes": 3
    },
    {
      "id": 1724029,
      "postDate": "2022-03-16T01:23:05.237Z",
      "content": "<p>lgb great again.</p>\n<p>Amazing!</p>",
      "rawMarkdown": "lgb great again.\n\nAmazing!",
      "votes": 4
    },
    {
      "id": 1725089,
      "postDate": "2022-03-16T19:46:53.890Z",
      "content": "<p>Very very nice architecture.  Intuitions were excellent.  I am looking forward to further and deeper analysis of this code as it is 'productized' for the OS community.   I strongly encourage you to put this all on Github and contribute a paper to Arvix.  You've done great work here.</p>",
      "rawMarkdown": "Very very nice architecture.  Intuitions were excellent.  I am looking forward to further and deeper analysis of this code as it is 'productized' for the OS community.   I strongly encourage you to put this all on Github and contribute a paper to Arvix.  You've done great work here.",
      "votes": 1,
      "replies": [
        {
          "id": 1725099,
          "postDate": "2022-03-16T19:55:29.567Z",
          "content": "<p>One question, which pipeline would you say best describes your code:</p>\n<p>Bert (low threshold, high recall) -&gt; span selection -&gt; span manipulation.  </p>\n<p>or</p>\n<p>Bert (low threshold, high recall) -&gt;  span manipulation -&gt; span selection</p>\n<p>Back propegating through the pipeline is an interesting problem space.</p>",
          "rawMarkdown": "One question, which pipeline would you say best describes your code:\n\nBert (low threshold, high recall) -> span selection -> span manipulation.  \n\nor\n\nBert (low threshold, high recall) ->  span manipulation -> span selection\n\nBack propegating through the pipeline is an interesting problem space."
        },
        {
          "id": 1725333,
          "postDate": "2022-03-17T02:24:58.760Z",
          "content": "<p>I think it is Bert (low threshold, high recall) -&gt; span manipulation -&gt; span selection</p>",
          "rawMarkdown": "I think it is Bert (low threshold, high recall) -> span manipulation -> span selection"
        }
      ]
    },
    {
      "id": 1724102,
      "postDate": "2022-03-16T02:50:36.430Z",
      "content": "<p>Congrats for your big win with such a huge score-lead on LB! <br>\nCan't believe yyds-LGB in the 2nd stage can bring such considerable improvement. </p>\n<p><code>Because the kaggle online resources are insufficient, you need to copy it to your own machine for training</code></p>\n<p>BTW: can you briefly explain your local resource and running time for training? Thanks!</p>",
      "rawMarkdown": "Congrats for your big win with such a huge score-lead on LB! \nCan't believe yyds-LGB in the 2nd stage can bring such considerable improvement. \n\n```Because the kaggle online resources are insufficient, you need to copy it to your own machine for training```\n\nBTW: can you briefly explain your local resource and running time for training? Thanks!",
      "votes": 1,
      "replies": [
        {
          "id": 1724136,
          "postDate": "2022-03-16T03:30:33.463Z",
          "content": "<p>A longformer-large model requires 4 A100s to train for about 5 hours, and a deberta-xxlarge model requires 4 A100s to train for about 24 hours</p>",
          "rawMarkdown": "A longformer-large model requires 4 A100s to train for about 5 hours, and a deberta-xxlarge model requires 4 A100s to train for about 24 hours",
          "votes": 2
        },
        {
          "id": 1724186,
          "postDate": "2022-03-16T04:17:35.160Z",
          "content": "<p>4x A100 for 24 hours on jarvislabs would be 4*$2.39/hr*24 hours = $230</p>\n<h1>😲</h1>\n<p>I guess your prize money will cover this 😁</p>",
          "rawMarkdown": "4x A100 for 24 hours on jarvislabs would be 4\\*$2.39/hr\\*24 hours = $230\n\n# 😲\n\nI guess your prize money will cover this 😁",
          "votes": 1
        }
      ]
    },
    {
      "id": 1724057,
      "postDate": "2022-03-16T02:10:10.177Z",
      "content": "<p>my dear dalao, plz accept my knees….LGB YYDS！</p>",
      "rawMarkdown": "my dear dalao, plz accept my knees....LGB YYDS！",
      "votes": 1
    },
    {
      "id": 1724047,
      "postDate": "2022-03-16T01:45:58.507Z",
      "content": "<p>Congrats! I learn a lot from your solution!</p>",
      "rawMarkdown": "Congrats! I learn a lot from your solution!",
      "votes": 1
    },
    {
      "id": 1724041,
      "postDate": "2022-03-16T01:39:52.670Z",
      "content": "<p>LGB yyds!!!</p>",
      "rawMarkdown": "LGB yyds!!!",
      "votes": 1
    },
    {
      "id": 1724032,
      "postDate": "2022-03-16T01:24:50.797Z",
      "content": "<p>Congratulations and thank you for the writeup . Could you please elaborate on </p>\n<blockquote>\n  <p>since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing</p>\n</blockquote>\n<p>what does segmented prediction and splicing mean ?  Is this same as window striding ? </p>",
      "rawMarkdown": "Congratulations and thank you for the writeup . Could you please elaborate on \n> since the max length of some models is 512, for these models, we choose the method of segmented prediction and splicing\n\nwhat does segmented prediction and splicing mean ?  Is this same as window striding ? ",
      "votes": 1,
      "replies": [
        {
          "id": 1724040,
          "postDate": "2022-03-16T01:39:16.427Z",
          "content": "<p>like this<a href=\"https://postimg.cc/mPWM0XQv\" target=\"_blank\"><img src=\"https://i.postimg.cc/y8kP32W8/image.png\" alt=\"image.png\"></a></p>",
          "rawMarkdown": "like this[![image.png](https://i.postimg.cc/y8kP32W8/image.png)](https://postimg.cc/mPWM0XQv)\n",
          "votes": 4
        },
        {
          "id": 1724042,
          "postDate": "2022-03-16T01:41:27.087Z",
          "content": "<p>How do you combine the two sequences? Averaging the overlap?</p>",
          "rawMarkdown": "How do you combine the two sequences? Averaging the overlap?",
          "votes": 1
        },
        {
          "id": 1724062,
          "postDate": "2022-03-16T02:14:43.553Z",
          "content": "<p>It's similar to the simple average. A little optimization is added. See the code for details.<br>\n<a href=\"https://www.kaggle.com/wht1996/feedback-nn-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-nn-train</a></p>\n<pre><code>if i == 0: \n    preds = logits\nelse:\n    if i == (loops-1):\n        if i==1:  \n            inter_length = loops_end[0]-loops_start[-1]\n            weight = torch.floor_divide(torch.arange(inter_length), inter_length-1).reshape(1,-1,1).to(device)\n            intersection = preds[:,start:]*(1-weight) + logits[:,:inter_length]*(weight)\n            preds = torch.cat([preds[:,:start],intersection,logits[:,inter_length:]],dim=1)\n        else: \n            preds = torch.cat([preds[:,:start],logits],dim=1)\n    else:\n        preds = torch.cat([preds,logits[:,duplicate_cnt:]],dim=1)\n</code></pre>",
          "rawMarkdown": "It's similar to the simple average. A little optimization is added. See the code for details.\nhttps://www.kaggle.com/wht1996/feedback-nn-train\n```\nif i == 0: \n    preds = logits\nelse:\n    if i == (loops-1):\n        if i==1:  \n            inter_length = loops_end[0]-loops_start[-1]\n            weight = torch.floor_divide(torch.arange(inter_length), inter_length-1).reshape(1,-1,1).to(device)\n            intersection = preds[:,start:]*(1-weight) + logits[:,:inter_length]*(weight)\n            preds = torch.cat([preds[:,:start],intersection,logits[:,inter_length:]],dim=1)\n        else: \n            preds = torch.cat([preds[:,:start],logits],dim=1)\n    else:\n        preds = torch.cat([preds,logits[:,duplicate_cnt:]],dim=1)\n```",
          "votes": 2
        }
      ]
    },
    {
      "id": 1724038,
      "postDate": "2022-03-16T01:37:23.547Z",
      "content": "<p>Would you be able to explain the AWP model or point to a resource explaining it? <br>\nedit: never mind I found this: <a href=\"https://arxiv.org/abs/2004.05884\" target=\"_blank\">https://arxiv.org/abs/2004.05884</a></p>",
      "rawMarkdown": "Would you be able to explain the AWP model or point to a resource explaining it? \nedit: never mind I found this: https://arxiv.org/abs/2004.05884",
      "votes": 2
    },
    {
      "id": 2897239,
      "postDate": "2024-06-30T10:55:54.440Z",
      "content": "<p>congrats!</p>",
      "rawMarkdown": "congrats!\n\n\n"
    },
    {
      "id": 1783633,
      "postDate": "2022-05-10T14:39:14.167Z",
      "content": "<p>Congrats! I learn a lot from your solution!</p>",
      "rawMarkdown": "Congrats! I learn a lot from your solution!"
    },
    {
      "id": 1737281,
      "postDate": "2022-03-28T09:50:47.867Z",
      "content": "<p>LGB yyds Amazing!!</p>",
      "rawMarkdown": "LGB yyds Amazing!!"
    },
    {
      "id": 1737218,
      "postDate": "2022-03-28T08:35:41.017Z",
      "content": "<p>Great job. Well Done on your submission for the same </p>",
      "rawMarkdown": "Great job. Well Done on your submission for the same "
    },
    {
      "id": 1736775,
      "postDate": "2022-03-27T18:06:20.300Z",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and thanks for sharing!</p>",
      "rawMarkdown": "Congrats @wht1996 and thanks for sharing!"
    },
    {
      "id": 1736639,
      "postDate": "2022-03-27T14:56:29.980Z",
      "content": "<p>Nice job man!</p>",
      "rawMarkdown": "Nice job man!"
    },
    {
      "id": 1735169,
      "postDate": "2022-03-25T23:49:20.417Z",
      "content": "<p>nice solution</p>",
      "rawMarkdown": "nice solution"
    },
    {
      "id": 1734126,
      "postDate": "2022-03-25T02:40:43.347Z",
      "content": "<p>perfect !!!</p>",
      "rawMarkdown": "perfect !!!"
    },
    {
      "id": 1734032,
      "postDate": "2022-03-24T22:30:30.790Z",
      "content": "<p>Thank you for the details! Great analysis.</p>",
      "rawMarkdown": "Thank you for the details! Great analysis."
    },
    {
      "id": 1733763,
      "postDate": "2022-03-24T15:37:29.827Z",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> and team. Great work!</p>",
      "rawMarkdown": "Congrats @wht1996 and team. Great work!\n\n"
    },
    {
      "id": 1733638,
      "postDate": "2022-03-24T13:22:43.100Z",
      "content": "<p>Thank you for sharing! <br>\nI try to use some code from your notebook.<br>\nWhat does kfold_ids.pkl mean? I understand that there are 5 folds, but I can't understand why each fold in this file have two arrays with ids.</p>",
      "rawMarkdown": "Thank you for sharing! \nI try to use some code from your notebook.\nWhat does kfold_ids.pkl mean? I understand that there are 5 folds, but I can't understand why each fold in this file have two arrays with ids.",
      "replies": [
        {
          "id": 1734472,
          "postDate": "2022-03-25T11:30:22.783Z",
          "content": "<p>One is the id of the training set and the other is the id of the validation set</p>",
          "rawMarkdown": "One is the id of the training set and the other is the id of the validation set"
        }
      ]
    },
    {
      "id": 1733555,
      "postDate": "2022-03-24T11:58:46.643Z",
      "content": "<p>Congratulations! many thanks for  your sharing</p>",
      "rawMarkdown": "Congratulations! many thanks for  your sharing"
    },
    {
      "id": 1733071,
      "postDate": "2022-03-24T01:46:41.463Z",
      "content": "<p>Looks great!</p>",
      "rawMarkdown": "Looks great!"
    },
    {
      "id": 1733031,
      "postDate": "2022-03-24T00:37:43.023Z",
      "content": "<p>Hello dear Kaggle community! My name is Jose!</p>",
      "rawMarkdown": "Hello dear Kaggle community! My name is Jose!"
    },
    {
      "id": 1732497,
      "postDate": "2022-03-23T12:57:43.840Z",
      "content": "<p>congrats! </p>",
      "rawMarkdown": "congrats! "
    },
    {
      "id": 1732431,
      "postDate": "2022-03-23T11:31:10.483Z",
      "content": "<p>Great work!</p>",
      "rawMarkdown": "Great work!"
    },
    {
      "id": 1732258,
      "postDate": "2022-03-23T07:08:31.807Z",
      "content": "<p>Amazing!!!!!</p>",
      "rawMarkdown": "Amazing!!!!!"
    },
    {
      "id": 1731975,
      "postDate": "2022-03-22T22:51:14.747Z",
      "content": "<p>congratsss</p>",
      "rawMarkdown": "congratsss"
    },
    {
      "id": 1731731,
      "postDate": "2022-03-22T16:31:25.983Z",
      "content": "<p>👍👍👍👍👍👍👍👍👍👍👍👍👍👍</p>",
      "rawMarkdown": "👍👍👍👍👍👍👍👍👍👍👍👍👍👍"
    },
    {
      "id": 1731235,
      "postDate": "2022-03-22T06:14:20.220Z",
      "content": "<p>Great work 👍</p>",
      "rawMarkdown": "Great work 👍"
    },
    {
      "id": 1731179,
      "postDate": "2022-03-22T04:23:55.260Z",
      "content": "<p>Very very nice architecture. Intuitions were excellent.👍</p>",
      "rawMarkdown": "Very very nice architecture. Intuitions were excellent.👍"
    },
    {
      "id": 1730935,
      "postDate": "2022-03-21T19:39:32.420Z",
      "content": "<p>Great work!</p>",
      "rawMarkdown": "Great work!"
    },
    {
      "id": 1730915,
      "postDate": "2022-03-21T18:47:22.387Z",
      "content": "<p>Congratulations!</p>",
      "rawMarkdown": "Congratulations!"
    },
    {
      "id": 1730464,
      "postDate": "2022-03-21T09:43:48.383Z",
      "content": "<p>Very good architecture.</p>",
      "rawMarkdown": "Very good architecture."
    },
    {
      "id": 1729621,
      "postDate": "2022-03-20T09:46:37.513Z",
      "content": "<p>Very nice, good job!</p>",
      "rawMarkdown": "Very nice, good job!"
    },
    {
      "id": 1728094,
      "postDate": "2022-03-18T15:22:53.930Z",
      "content": "<p>interesting work!</p>",
      "rawMarkdown": "interesting work!"
    },
    {
      "id": 1727754,
      "postDate": "2022-03-18T08:41:44.650Z",
      "content": "<p>Looks good!</p>",
      "rawMarkdown": "Looks good!"
    },
    {
      "id": 1727725,
      "postDate": "2022-03-18T07:56:29.773Z",
      "content": "<p>nice study</p>",
      "rawMarkdown": "nice study"
    },
    {
      "id": 1727555,
      "postDate": "2022-03-18T03:53:02.887Z",
      "content": "<p>Interesting!</p>",
      "rawMarkdown": "Interesting!"
    },
    {
      "id": 1727538,
      "postDate": "2022-03-18T03:30:31.477Z",
      "content": "<p>Great work, many of us have thought to use LGB for rerank, but only your team figure out the key is recall rate. Congratulations!</p>",
      "rawMarkdown": "Great work, many of us have thought to use LGB for rerank, but only your team figure out the key is recall rate. Congratulations!"
    },
    {
      "id": 1727495,
      "postDate": "2022-03-18T02:41:14.513Z",
      "content": "<p>congrats! by the way, the resolution of the pic of cv score is very low even for the original pic, could you please fix it?</p>",
      "rawMarkdown": "congrats! by the way, the resolution of the pic of cv score is very low even for the original pic, could you please fix it?"
    },
    {
      "id": 1726023,
      "postDate": "2022-03-17T15:31:08.877Z",
      "content": "<p>Excellent!</p>",
      "rawMarkdown": "Excellent!"
    },
    {
      "id": 1725597,
      "postDate": "2022-03-17T08:45:08.913Z",
      "content": "<p>Big Congrats!!, <br>\nStaying calm and focused, you have given the best response to the 'speculators', </p>\n<p>and a big thank you, <br>\nYou have shared 'both' your knowledge and code, which is not very common of those speculators :-)</p>",
      "rawMarkdown": "Big Congrats!!, \nStaying calm and focused, you have given the best response to the 'speculators', \n\nand a big thank you, \nYou have shared 'both' your knowledge and code, which is not very common of those speculators :-)"
    },
    {
      "id": 1725295,
      "postDate": "2022-03-17T01:37:37.910Z",
      "content": "<p>Hi, <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> . Could you please tell how do you ensemble different models?</p>\n<p>Thanks in advance!</p>",
      "rawMarkdown": "Hi, @wht1996 . Could you please tell how do you ensemble different models?\n\nThanks in advance!",
      "replies": [
        {
          "id": 1725711,
          "postDate": "2022-03-17T11:02:02.467Z",
          "content": "<p>you can refer to <a href=\"https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold\" target=\"_blank\">https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold</a></p>",
          "rawMarkdown": "you can refer to https://www.kaggle.com/hengck23/1-birdformer-1-longformer-one-fold",
          "votes": 1
        },
        {
          "id": 1725752,
          "postDate": "2022-03-17T12:06:45.177Z",
          "content": "<p>Thanks a lot!</p>",
          "rawMarkdown": "Thanks a lot!"
        }
      ]
    },
    {
      "id": 1725291,
      "postDate": "2022-03-17T01:36:13.180Z",
      "content": "<p>Congrats and thanks for sharing !!! <br>\nDid you use any <strong>Data Augmentation</strong> methods to improve model performance?</p>",
      "rawMarkdown": "Congrats and thanks for sharing !!! \nDid you use any **Data Augmentation** methods to improve model performance?",
      "replies": [
        {
          "id": 1725714,
          "postDate": "2022-03-17T11:02:59.143Z",
          "content": "<p>we tried back translation, but it didn't work</p>",
          "rawMarkdown": "we tried back translation, but it didn't work"
        }
      ]
    },
    {
      "id": 1725218,
      "postDate": "2022-03-16T23:24:17.200Z",
      "content": "<p>Congratulations! Great job</p>",
      "rawMarkdown": "Congratulations! Great job"
    },
    {
      "id": 1724914,
      "postDate": "2022-03-16T16:17:54.900Z",
      "content": "<p>Thanks for sharing and congratulations👏 ..will wait to see your code unfortunately we could not get that much juice it of v3 .. But Learnt good techniques will use in the future from this</p>",
      "rawMarkdown": "Thanks for sharing and congratulations👏 ..will wait to see your code unfortunately we could not get that much juice it of v3 .. But Learnt good techniques will use in the future from this"
    },
    {
      "id": 1724904,
      "postDate": "2022-03-16T16:03:22.357Z",
      "content": "<p>Congratulations! Great work. I tried post-processing but it didn't succeed. I will study from your notebook. Thank you for sharing.</p>",
      "rawMarkdown": "Congratulations! Great work. I tried post-processing but it didn't succeed. I will study from your notebook. Thank you for sharing."
    },
    {
      "id": 1724883,
      "postDate": "2022-03-16T15:45:20.797Z",
      "content": "<p>Nice solution</p>",
      "rawMarkdown": "Nice solution"
    },
    {
      "id": 1724881,
      "postDate": "2022-03-16T15:45:10.580Z",
      "content": "<p>Very impressive, good job !</p>",
      "rawMarkdown": "Very impressive, good job !"
    },
    {
      "id": 1724804,
      "postDate": "2022-03-16T14:24:00.730Z",
      "content": "<p>Thanks for sharing! Great works! Can't wait to learn from yours achievements!👍</p>",
      "rawMarkdown": "Thanks for sharing! Great works! Can't wait to learn from yours achievements!👍"
    },
    {
      "id": 1724675,
      "postDate": "2022-03-16T12:45:25.840Z",
      "content": "<p>Congratulations and thanks for sharing your success with us.</p>\n<p>Ed</p>",
      "rawMarkdown": "Congratulations and thanks for sharing your success with us.\n\nEd"
    },
    {
      "id": 1724650,
      "postDate": "2022-03-16T12:19:00.823Z",
      "content": "<p>Impressive 👍</p>",
      "rawMarkdown": "Impressive 👍"
    },
    {
      "id": 1724649,
      "postDate": "2022-03-16T12:18:21.917Z",
      "content": "<p>Congratulation and thanks for the solution</p>",
      "rawMarkdown": "Congratulation and thanks for the solution"
    },
    {
      "id": 1724640,
      "postDate": "2022-03-16T12:12:34.590Z",
      "content": "<p>lgb stands for the light gradient boosting, right?</p>",
      "rawMarkdown": "lgb stands for the light gradient boosting, right?",
      "replies": [
        {
          "id": 1725341,
          "postDate": "2022-03-17T02:44:09.807Z",
          "content": "<p>yes, LightGBM</p>",
          "rawMarkdown": "yes, LightGBM"
        }
      ]
    },
    {
      "id": 1724638,
      "postDate": "2022-03-16T12:07:15.940Z",
      "content": "<p>I'm learning a lot! Thanks for the great explanation and code&lt;(_ _)&gt;</p>",
      "rawMarkdown": "I'm learning a lot! Thanks for the great explanation and code<(_ _)>"
    },
    {
      "id": 1724492,
      "postDate": "2022-03-16T09:26:40.760Z",
      "content": "<p>Congrats on the result! </p>\n<blockquote>\n  <p>cv score 0.712, lb score 0.706 with post-processing.</p>\n</blockquote>\n<p>Can you say a bit more on the postprocessing you use?</p>",
      "rawMarkdown": "Congrats on the result! \n\n> cv score 0.712, lb score 0.706 with post-processing.\n\n Can you say a bit more on the postprocessing you use?",
      "replies": [
        {
          "id": 1724508,
          "postDate": "2022-03-16T09:33:33.827Z",
          "content": "<p>You can refer to the after_deal function in this code  <a href=\"https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697</a></p>",
          "rawMarkdown": "You can refer to the after_deal function in this code  https://www.kaggle.com/wht1996/feedback-longformer-5fold-0-697",
          "votes": 2
        }
      ]
    },
    {
      "id": 1724423,
      "postDate": "2022-03-16T08:37:02.843Z",
      "content": "<p>very impressive solution. Thanks for sharing</p>",
      "rawMarkdown": "very impressive solution. Thanks for sharing"
    },
    {
      "id": 1724328,
      "postDate": "2022-03-16T07:30:59.993Z",
      "content": "<p>Great job! Thanks for sharing and big congrats! </p>\n<p>What kind of features did you create for the candidates?</p>",
      "rawMarkdown": "Great job! Thanks for sharing and big congrats! \n\nWhat kind of features did you create for the candidates?",
      "replies": [
        {
          "id": 1724669,
          "postDate": "2022-03-16T12:36:48.267Z",
          "content": "<p>Features we have made some conventional statistical features for the current sentence and before and after the sentence. There is nothing special. I think our core strength is not features, but how to get and process candidate samples.</p>",
          "rawMarkdown": "Features we have made some conventional statistical features for the current sentence and before and after the sentence. There is nothing special. I think our core strength is not features, but how to get and process candidate samples.",
          "votes": 3
        },
        {
          "id": 1724786,
          "postDate": "2022-03-16T14:07:04.743Z",
          "content": "<p>Did you try training a separate bert-like model instead of using statistical features and LGB?</p>",
          "rawMarkdown": "Did you try training a separate bert-like model instead of using statistical features and LGB?"
        },
        {
          "id": 1724821,
          "postDate": "2022-03-16T14:37:39.893Z",
          "content": "<p>In stage 1, we used bert for token prediction. and In stage 2, we also tried to use bert for sentence prediction, but the result was not good, so we did not use it in the end</p>",
          "rawMarkdown": "In stage 1, we used bert for token prediction. and In stage 2, we also tried to use bert for sentence prediction, but the result was not good, so we did not use it in the end",
          "votes": 2
        }
      ]
    },
    {
      "id": 1724303,
      "postDate": "2022-03-16T06:56:30.830Z",
      "content": "<p>Great job guys! So it was lgb training which gave an edge at the end to win🙂</p>",
      "rawMarkdown": "Great job guys! So it was lgb training which gave an edge at the end to win🙂"
    },
    {
      "id": 1724293,
      "postDate": "2022-03-16T06:45:06.577Z",
      "content": "<p>Congrats <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a>. And thanks for sharing your ideas. Great work👍.</p>",
      "rawMarkdown": "Congrats @wht1996. And thanks for sharing your ideas. Great work👍."
    },
    {
      "id": 1724196,
      "postDate": "2022-03-16T04:30:50.277Z",
      "content": "<p>Congratulations on your win and thanks a lot for sharing your kernels 🙌</p>",
      "rawMarkdown": "Congratulations on your win and thanks a lot for sharing your kernels 🙌"
    },
    {
      "id": 1724149,
      "postDate": "2022-03-16T03:42:44.340Z",
      "content": "<p>Congratulations <a href=\"https://www.kaggle.com/wht1996\" target=\"_blank\">@wht1996</a> on the win , simple and awesome solution . We were also thinking on the same lines , we used a two layered NN to combine model predictions instead of LGB which was working better , but we didn't have enough powerful Longformer models to give us the boost 🐱</p>",
      "rawMarkdown": "Congratulations @wht1996 on the win , simple and awesome solution . We were also thinking on the same lines , we used a two layered NN to combine model predictions instead of LGB which was working better , but we didn't have enough powerful Longformer models to give us the boost 🐱"
    },
    {
      "id": 1724094,
      "postDate": "2022-03-16T02:44:58.140Z",
      "content": "<p>Congratulations! And thanks for sharing!</p>",
      "rawMarkdown": "Congratulations! And thanks for sharing!"
    },
    {
      "id": 1724079,
      "postDate": "2022-03-16T02:27:43.923Z",
      "content": "<p>Congrats and thanks for ur solution. I have a concern. I don’t see how you train the lgb models. You only provided lgb model files, which can be trained by anything. I would like to train using my data (end-to-end) to check if lgb can be that good. Could you show us for more transparency and confirm your impressive win?</p>",
      "rawMarkdown": "Congrats and thanks for ur solution. I have a concern. I don’t see how you train the lgb models. You only provided lgb model files, which can be trained by anything. I would like to train using my data (end-to-end) to check if lgb can be that good. Could you show us for more transparency and confirm your impressive win?",
      "replies": [
        {
          "id": 1724087,
          "postDate": "2022-03-16T02:38:29.100Z",
          "content": "<p>If you recall samples and do features according to <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747</a>, you can directly train a tree model of your own, so we don't provide additional training code for the tree model. Of course, I can also tidy up our lgb model training code if needed<br>\nbtw, our lgb model params are</p>\n<pre><code>params = {\n          'boosting': 'gbdt',\n          'objective': 'binary',\n          'metric': {'auc'},\n          'num_leaves': 15,\n          'min_data_in_leaf': 30,\n          'max_depth': 5,\n          'learning_rate': 0.03,\n          \"feature_fraction\": 0.7,\n          \"bagging_fraction\": 0.7,\n          'min_data_in_bin':15,\n          \"lambda_l1\": 5,\n          'lambda_l2': 5,\n          \"random_state\": 1996,\n          \"num_threads\": num_jobs,\n          }\n</code></pre>",
          "rawMarkdown": "If you recall samples and do features according to https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747, you can directly train a tree model of your own, so we don't provide additional training code for the tree model. Of course, I can also tidy up our lgb model training code if needed\nbtw, our lgb model params are\n```\nparams = {\n          'boosting': 'gbdt',\n          'objective': 'binary',\n          'metric': {'auc'},\n          'num_leaves': 15,\n          'min_data_in_leaf': 30,\n          'max_depth': 5,\n          'learning_rate': 0.03,\n          \"feature_fraction\": 0.7,\n          \"bagging_fraction\": 0.7,\n          'min_data_in_bin':15,\n          \"lambda_l1\": 5,\n          'lambda_l2': 5,\n          \"random_state\": 1996,\n          \"num_threads\": num_jobs,\n          }\n```",
          "votes": 2
        },
        {
          "id": 1724092,
          "postDate": "2022-03-16T02:43:36.947Z",
          "content": "<p>Thanks a lot. I’ll try it out. </p>",
          "rawMarkdown": "Thanks a lot. I’ll try it out. "
        },
        {
          "id": 1724098,
          "postDate": "2022-03-16T02:49:20.113Z",
          "content": "<p>here is the lgb train code <a href=\"https://www.kaggle.com/wht1996/feedback-lgb-train\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-lgb-train</a></p>",
          "rawMarkdown": "here is the lgb train code https://www.kaggle.com/wht1996/feedback-lgb-train",
          "votes": 7
        }
      ]
    },
    {
      "id": 1724078,
      "postDate": "2022-03-16T02:27:03.823Z",
      "content": "<p>Congrats :o</p>",
      "rawMarkdown": "Congrats :o"
    },
    {
      "id": 1724076,
      "postDate": "2022-03-16T02:26:41.213Z",
      "content": "<p>very impress solution, great job</p>",
      "rawMarkdown": "very impress solution, great job"
    },
    {
      "id": 1724070,
      "postDate": "2022-03-16T02:20:18.457Z",
      "content": "<p>Also, how do you train deberta xlarge? With local gpu?<br>\nBtw, congrats!</p>",
      "rawMarkdown": "Also, how do you train deberta xlarge? With local gpu?\nBtw, congrats!",
      "replies": [
        {
          "id": 1724075,
          "postDate": "2022-03-16T02:26:23.767Z",
          "content": "<p>Yes, we used A100 for training</p>",
          "rawMarkdown": "Yes, we used A100 for training"
        }
      ]
    },
    {
      "id": 1724068,
      "postDate": "2022-03-16T02:18:55.607Z",
      "content": "<p>Hi I just can't understand your lgb methods. can you elaborate <em>select sample with high boundary threshold and choice 65% length with the highest probability of the current class</em></p>",
      "rawMarkdown": "Hi I just can't understand your lgb methods. can you elaborate *select sample with high boundary threshold and choice 65% length with the highest probability of the current class*",
      "replies": [
        {
          "id": 1724074,
          "postDate": "2022-03-16T02:25:32.627Z",
          "content": "<p>Because the intersection of prediction and label only needs to be greater than 50%, if the probability of two boundaries of a sample is very large, I can be sure that the sample will not be longer, then I can make it shorter to improve robustness</p>",
          "rawMarkdown": "Because the intersection of prediction and label only needs to be greater than 50%, if the probability of two boundaries of a sample is very large, I can be sure that the sample will not be longer, then I can make it shorter to improve robustness",
          "votes": 1
        },
        {
          "id": 1724108,
          "postDate": "2022-03-16T02:58:18.173Z",
          "content": "<ol>\n<li><p>Does <em>probability of two boundaries of a sample</em> mean that the prediction of a segment in an essay is somehow a specific class with high probabilities in the start token and the end token of this segment?</p></li>\n<li><p>How do you get 3 million recall samples? Is that means you make prediction with the whole training data?</p></li>\n</ol>",
          "rawMarkdown": "1. Does *probability of two boundaries of a sample* mean that the prediction of a segment in an essay is somehow a specific class with high probabilities in the start token and the end token of this segment?\n\n2. How do you get 3 million recall samples? Is that means you make prediction with the whole training data?"
        },
        {
          "id": 1724116,
          "postDate": "2022-03-16T03:06:23.817Z",
          "content": "<p>How to recall samples and how to get new samples according to the boundary can refer to the code <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747</a></p>",
          "rawMarkdown": "How to recall samples and how to get new samples according to the boundary can refer to the code https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747"
        },
        {
          "id": 1729217,
          "postDate": "2022-03-19T19:17:41.713Z",
          "content": "<p>Cool! One more question for running your training script of awp: for the adversial lr have you tuned it or just leave it as default?</p>",
          "rawMarkdown": "Cool! One more question for running your training script of awp: for the adversial lr have you tuned it or just leave it as default?"
        }
      ]
    },
    {
      "id": 1724054,
      "postDate": "2022-03-16T02:08:59.837Z",
      "content": "<p>Congrats! very clear way！</p>",
      "rawMarkdown": "Congrats! very clear way！"
    },
    {
      "id": 1724034,
      "postDate": "2022-03-16T01:31:23.517Z",
      "content": "<p>Thanks for sharing :) Im happy to watch ur write-up.</p>\n<p>Is the cv score u mentioned  in google sheets calculated <code>w/ length and score filtering</code> or <code>w/o filtering</code>?</p>",
      "rawMarkdown": "Thanks for sharing :) Im happy to watch ur write-up.\n\nIs the cv score u mentioned  in google sheets calculated `w/ length and score filtering` or `w/o filtering`?",
      "replies": [
        {
          "id": 1724044,
          "postDate": "2022-03-16T01:42:16.263Z",
          "content": "<p>I don't quite understand what is w/ length and score filtering, you can refer to  <a href=\"https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747\" target=\"_blank\">https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747</a></p>",
          "rawMarkdown": "I don't quite understand what is w/ length and score filtering, you can refer to  https://www.kaggle.com/wht1996/feedback-two-stage-cv0-747",
          "votes": 2
        },
        {
          "id": 1724069,
          "postDate": "2022-03-16T02:19:02.250Z",
          "content": "<p>I mean post-processing but I noticed this from ur notebook after leaving comments. thanks for sharing again and big congrats to 1st.</p>",
          "rawMarkdown": "I mean post-processing but I noticed this from ur notebook after leaving comments. thanks for sharing again and big congrats to 1st."
        }
      ]
    },
    {
      "id": 1724033,
      "postDate": "2022-03-16T01:28:52.567Z",
      "content": "<p>Amazing!!!</p>",
      "rawMarkdown": "Amazing!!!"
    },
    {
      "id": 1724027,
      "postDate": "2022-03-16T01:19:45.477Z",
      "content": "<p>Been waiting for a while for your team's solution write-up. Thanks for posting! As for the winner's code license, on the rules page it says \"WINNER LICENSE TYPE: OPEN SOURCE - MIT\" so I don't think posting it here would be a problem. Congrats for getting 1st place with such a big margin.</p>",
      "rawMarkdown": "Been waiting for a while for your team's solution write-up. Thanks for posting! As for the winner's code license, on the rules page it says \"WINNER LICENSE TYPE: OPEN SOURCE - MIT\" so I don't think posting it here would be a problem. Congrats for getting 1st place with such a big margin."
    },
    {
      "id": 1730523,
      "postDate": "2022-03-21T11:40:08.870Z",
      "rawMarkdown": "",
      "isDeleted": true
    },
    {
      "id": 1727798,
      "postDate": "2022-03-18T10:11:49.657Z",
      "rawMarkdown": "",
      "isDeleted": true
    },
    {
      "id": 1724287,
      "postDate": "2022-03-16T06:37:11.883Z",
      "content": "<p>Congratulations thank you for sharing🙌</p>",
      "rawMarkdown": "Congratulations thank you for sharing🙌",
      "votes": 1
    },
    {
      "id": 1775333,
      "postDate": "2022-05-02T22:42:52.560Z",
      "content": "<p>Thanks you!! amazing!</p>",
      "rawMarkdown": "Thanks you!! amazing!"
    },
    {
      "id": 1734066,
      "postDate": "2022-03-25T00:02:09.497Z",
      "content": "<p>Thank you for sharing!</p>",
      "rawMarkdown": "Thank you for sharing!"
    },
    {
      "id": 1733659,
      "postDate": "2022-03-24T13:47:04.867Z",
      "content": "<p>Thanks for the information</p>",
      "rawMarkdown": "Thanks for the information"
    },
    {
      "id": 1733022,
      "postDate": "2022-03-24T00:17:04.427Z",
      "content": "<p>Congratulations and thanks for sharing.</p>",
      "rawMarkdown": "Congratulations and thanks for sharing."
    },
    {
      "id": 1731300,
      "postDate": "2022-03-22T08:07:06.050Z",
      "content": "<p>Thanks for your sharing</p>",
      "rawMarkdown": "Thanks for your sharing"
    },
    {
      "id": 1729809,
      "postDate": "2022-03-20T14:46:32.483Z",
      "content": "<p>Thank You for sharing 👍🏻</p>",
      "rawMarkdown": "Thank You for sharing 👍🏻"
    },
    {
      "id": 1728032,
      "postDate": "2022-03-18T14:36:17.583Z",
      "content": "<p>Congratulations thank you for sharing🙌</p>",
      "rawMarkdown": "Congratulations thank you for sharing🙌"
    },
    {
      "id": 1727578,
      "postDate": "2022-03-18T04:44:22.513Z",
      "content": "<p>Thank you for sharing!</p>",
      "rawMarkdown": "Thank you for sharing!"
    },
    {
      "id": 1726232,
      "postDate": "2022-03-17T19:30:10.317Z",
      "content": "<p>Thanks for sharing!</p>",
      "rawMarkdown": "Thanks for sharing!"
    },
    {
      "id": 1725332,
      "postDate": "2022-03-17T02:24:05.563Z",
      "content": "<p>Congrats! Thanks a lot for sharing.</p>",
      "rawMarkdown": "Congrats! Thanks a lot for sharing."
    },
    {
      "id": 1724977,
      "postDate": "2022-03-16T17:27:40.073Z",
      "content": "<p>congrats and thanks for your work</p>",
      "rawMarkdown": "congrats and thanks for your work"
    },
    {
      "id": 1724111,
      "postDate": "2022-03-16T03:01:21.963Z",
      "content": "<p>Thank you for sharing~</p>",
      "rawMarkdown": "Thank you for sharing~"
    }
  ],
  "complete": true,
  "source": "live",
  "fetched_at": "2026-10-19T12:38:22Z",
  "competition_id": 31779,
  "competition_slug": "feedback-prize-2021",
  "team_id": 7929735,
  "solution_url": "/competitions/feedback-prize-2021/writeups/world-peace-1st-solution-with-code-cv-0-748-lb-0-7"
}