{
  "id": 129875,
  "title": "5th solution",
  "content": "<p>First of all I want to thank my teammates here.I will briefly introduce our solution here.</p>\n\n<h2>models</h2>\n\n<p>1.Model structure。we  design different models structure. We mainly refer to the solution of ccf internet sentiment analysis，concat different  cls embedding . here it is the link <a href=\"https://github.com/cxy229/BDCI2019-SENTIMENT-CLASSIFICATION\">BDCI2019-SENTIMENT-CLASSIFICATION</a> <br>\n 2.We found 30 labels through analysis, one is the question-related evaluation, and the other is the answer-related evaluation. In order to make the model learn better, we have designed the q model to remove the problem-related label and the a model to process the answer Related labels。 it is better than qa models. <br>\n3.different model  test.  roberta base &gt;roberta large &gt;xlnet base &gt;bert base &gt; t5 base.   </p>\n\n<h2>Post-processing</h2>\n\n<ol>\n<li>Analysis and evaluation methods and competition data，we use 0,1 reseting  way. it improve lb 0.05 or more.  </li>\n</ol>\n\n<h2>Features</h2>\n\n<p>1.we want that our model learns features that are not only considered in text, so we add host and \ncategory embeeding features  annd other Statistical Features。 it improve both cv and lb about 0.005.  </p>\n\n<h2>Text  clean</h2>\n\n<p>1.We also did text cleaning to remove stop words and some symbols， it improve  about 0.002 </p>\n\n<h2>Stacking</h2>\n\n<p>1.Our Best  Private model  scored  0.42787  ,but we dont't select  it.  it is stacking  by  roberta large and roberta base and xlnet base. <br>\n<code>blend.loc[:,targets] =  roberta_large_oof_test.loc[:,targets].values*0.4+0.3*roberta_base_oof_test.loc[:,targets].values+\\\n                        xlnet_base_oof_test.loc[:,targets].values*0.3</code>  </p>\n\n<p>stacking improve  both cv and lb  about  0.02 .  it help much.</p>",
  "comments": [
    {
      "id": 749635,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-02-18T20:27:04.020000",
      "content": "<p>tq u for sharing ur hardwork</p>",
      "votes": 15,
      "replies": []
    },
    {
      "id": 742934,
      "author_name": "CPMP",
      "author_url": "",
      "post_date": "2020-02-11T16:42:33.643000",
      "content": "<p>Great job, congrats. Which statistical features did you use?  We didn't found useful ones besides category embeddings.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 743129,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T20:13:57.773000",
          "content": "<p>some statistical features  like  word num,   answer word nums  vs  question word nums,  but   it help. little.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 743139,
          "author_name": "Chris Deotte",
          "author_url": "",
          "post_date": "2020-02-11T20:29:01.587000",
          "content": "<p>I posted some EDA of meta features <a href=\"https://www.kaggle.com/c/google-quest-challenge/discussion/130041\">here</a>. Word count in the answer was a helpful one (especially for <code>question_type_spelling</code> and <code>answer_level_of_information</code>).</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 743141,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T20:34:56.687000",
          "content": "<p>nice work and you have shared a lot of valuable things in a lot of games and learned a lot from you <a href=\"/cdeotte\">@cdeotte</a> </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 881623,
          "author_name": "ich bin MICHA",
          "author_url": "",
          "post_date": "2020-06-11T08:03:40.437000",
          "content": "<p>Iuiiii</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 862005,
      "author_name": "哈尔的移动城堡",
      "author_url": "",
      "post_date": "2020-05-26T11:11:23.933000",
      "content": "<p>今年考研究生，哈工深真的那么好吗？</p>",
      "votes": -2,
      "replies": []
    },
    {
      "id": 1060437,
      "author_name": "Vijaybhandare123",
      "author_url": "",
      "post_date": "2020-10-26T07:35:01.830000",
      "content": "<p>Congratulations …..<br>\nWhat was the loss function used ? </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 744203,
      "author_name": "YaGana Sheriff-Hussaini",
      "author_url": "",
      "post_date": "2020-02-12T16:45:32.213000",
      "content": "<p>Congrats <a href=\"/bestpredict\">@bestpredict</a> and team. Thanks for sharing your solution.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 742770,
      "author_name": "VIKRAM KUSHWAH",
      "author_url": "",
      "post_date": "2020-02-11T14:33:02.530000",
      "content": "<p>hey congratulations!!!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 742435,
      "author_name": "RB",
      "author_url": "",
      "post_date": "2020-02-11T09:45:03.957000",
      "content": "<p>Congratulations and thank you for write up.  Seems like your stacking doesn't include Bert. \nHow did you come up with stacking weights ? 0.4 for Roberta large, 0.3 for Roberta Base and 0.3 for Xlnet.  </p>",
      "votes": 0,
      "replies": [
        {
          "id": 743127,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T20:12:01.403000",
          "content": "<p>based on oof train</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 742416,
      "author_name": "liuze",
      "author_url": "",
      "post_date": "2020-02-11T09:35:18.653000",
      "content": "<p>Congratulations, what <code>we use 0,1 reseting way</code> means? thank you</p>",
      "votes": 0,
      "replies": [
        {
          "id": 742431,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T09:41:20.030000",
          "content": "<p>Calculate the threshold from the training set， if value&lt; thresold 1  , then reset value to 0,   and  if value &gt;thresold2  ,then reset value to 1</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 742888,
          "author_name": "Chris Deotte",
          "author_url": "",
          "post_date": "2020-02-11T16:18:20.200000",
          "content": "<p>Awesome. Congrats on a great job. When you say \"from training set\", do you mean analyze the OOF from 5-Fold?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 743125,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T20:10:40.557000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 743131,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T20:15:39.303000",
          "content": "<p>yes ,based oof train</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 742308,
      "author_name": "Ailurophile",
      "author_url": "",
      "post_date": "2020-02-11T08:18:02.770000",
      "content": "<p>Congratulations!\nThanks for Sharing your Approach &amp; Insights!! <a href=\"/bestpredict\">@bestpredict</a> </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 742193,
      "author_name": "xia",
      "author_url": "",
      "post_date": "2020-02-11T06:21:11.377000",
      "content": "<p>Nice</p>",
      "votes": 0,
      "replies": [
        {
          "id": 742233,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T07:07:08.120000",
          "content": "<p>thank u ,brother, thank  teammates</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 742129,
      "author_name": "Rainbow Cat",
      "author_url": "",
      "post_date": "2020-02-11T04:56:42.857000",
      "content": "<p>Excellect jobs. Thank you so much for learning so much.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 742130,
          "author_name": "BestPredict",
          "author_url": "",
          "post_date": "2020-02-11T04:57:10.987000",
          "content": "<p>thank u, my brother</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 744570,
      "author_name": "corochann",
      "author_url": "",
      "post_date": "2020-02-12T23:52:28.980000",
      "content": "<p>Congrats, thank you for sharing.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "comment_count": 23,
  "messages": [
    {
      "id": 742115,
      "postDate": "2020-02-11T04:46:39.240Z",
      "content": "<p>First of all I want to thank my teammates here.I will briefly introduce our solution here.</p>\n\n<h2>models</h2>\n\n<p>1.Model structure。we  design different models structure. We mainly refer to the solution of ccf internet sentiment analysis，concat different  cls embedding . here it is the link <a href=\"https://github.com/cxy229/BDCI2019-SENTIMENT-CLASSIFICATION\">BDCI2019-SENTIMENT-CLASSIFICATION</a> <br>\n 2.We found 30 labels through analysis, one is the question-related evaluation, and the other is the answer-related evaluation. In order to make the model learn better, we have designed the q model to remove the problem-related label and the a model to process the answer Related labels。 it is better than qa models. <br>\n3.different model  test.  roberta base &gt;roberta large &gt;xlnet base &gt;bert base &gt; t5 base.   </p>\n\n<h2>Post-processing</h2>\n\n<ol>\n<li>Analysis and evaluation methods and competition data，we use 0,1 reseting  way. it improve lb 0.05 or more.  </li>\n</ol>\n\n<h2>Features</h2>\n\n<p>1.we want that our model learns features that are not only considered in text, so we add host and \ncategory embeeding features  annd other Statistical Features。 it improve both cv and lb about 0.005.  </p>\n\n<h2>Text  clean</h2>\n\n<p>1.We also did text cleaning to remove stop words and some symbols， it improve  about 0.002 </p>\n\n<h2>Stacking</h2>\n\n<p>1.Our Best  Private model  scored  0.42787  ,but we dont't select  it.  it is stacking  by  roberta large and roberta base and xlnet base. <br>\n<code>blend.loc[:,targets] =  roberta_large_oof_test.loc[:,targets].values*0.4+0.3*roberta_base_oof_test.loc[:,targets].values+\\\n                        xlnet_base_oof_test.loc[:,targets].values*0.3</code>  </p>\n\n<p>stacking improve  both cv and lb  about  0.02 .  it help much.</p>",
      "rawMarkdown": "\nFirst of all I want to thank my teammates here.I will briefly introduce our solution here.\n\n## models\n1.Model structure。we  design different models structure. We mainly refer to the solution of ccf internet sentiment analysis，concat different  cls embedding . here it is the link [BDCI2019-SENTIMENT-CLASSIFICATION](https://github.com/cxy229/BDCI2019-SENTIMENT-CLASSIFICATION)  \n 2.We found 30 labels through analysis, one is the question-related evaluation, and the other is the answer-related evaluation. In order to make the model learn better, we have designed the q model to remove the problem-related label and the a model to process the answer Related labels。 it is better than qa models.  \n3.different model  test.  roberta base &gt;roberta large &gt;xlnet base &gt;bert base &gt; t5 base.   \n \n## Post-processing  \n1. Analysis and evaluation methods and competition data，we use 0,1 reseting  way. it improve lb 0.05 or more.  \n\n\n## Features\n1.we want that our model learns features that are not only considered in text, so we add host and \ncategory embeeding features  annd other Statistical Features。 it improve both cv and lb about 0.005.  \n\n##Text  clean  \n1.We also did text cleaning to remove stop words and some symbols， it improve  about 0.002 \n\n\n\n## Stacking \n\n1.Our Best  Private model  scored  0.42787  ,but we dont't select  it.  it is stacking  by  roberta large and roberta base and xlnet base.  \n`blend.loc[:,targets] =  roberta_large_oof_test.loc[:,targets].values*0.4+0.3*roberta_base_oof_test.loc[:,targets].values+\\\n                        xlnet_base_oof_test.loc[:,targets].values*0.3`  \n\nstacking improve  both cv and lb  about  0.02 .  it help much.\n",
      "votes": 45
    },
    {
      "id": 749635,
      "postDate": "2020-02-18T20:27:04.020Z",
      "content": "<p>tq u for sharing ur hardwork</p>",
      "rawMarkdown": "tq u for sharing ur hardwork",
      "votes": 15
    },
    {
      "id": 742934,
      "postDate": "2020-02-11T16:42:33.643Z",
      "content": "<p>Great job, congrats. Which statistical features did you use?  We didn't found useful ones besides category embeddings.</p>",
      "rawMarkdown": "Great job, congrats. Which statistical features did you use?  We didn't found useful ones besides category embeddings.",
      "votes": 1,
      "replies": [
        {
          "id": 743129,
          "postDate": "2020-02-11T20:13:57.773Z",
          "content": "<p>some statistical features  like  word num,   answer word nums  vs  question word nums,  but   it help. little.</p>",
          "rawMarkdown": "some statistical features  like  word num,   answer word nums  vs  question word nums,  but   it help. little."
        },
        {
          "id": 743139,
          "postDate": "2020-02-11T20:29:01.587Z",
          "content": "<p>I posted some EDA of meta features <a href=\"https://www.kaggle.com/c/google-quest-challenge/discussion/130041\">here</a>. Word count in the answer was a helpful one (especially for <code>question_type_spelling</code> and <code>answer_level_of_information</code>).</p>",
          "rawMarkdown": "I posted some EDA of meta features [here][1]. Word count in the answer was a helpful one (especially for `question_type_spelling` and `answer_level_of_information`).\n\n[1]: https://www.kaggle.com/c/google-quest-challenge/discussion/130041",
          "votes": 2
        },
        {
          "id": 743141,
          "postDate": "2020-02-11T20:34:56.687Z",
          "content": "<p>nice work and you have shared a lot of valuable things in a lot of games and learned a lot from you <a href=\"/cdeotte\">@cdeotte</a> </p>",
          "rawMarkdown": "nice work and you have shared a lot of valuable things in a lot of games and learned a lot from you @cdeotte ",
          "votes": 1
        },
        {
          "id": 881623,
          "postDate": "2020-06-11T08:03:40.437Z",
          "content": "<p>Iuiiii</p>",
          "rawMarkdown": "Iuiiii"
        }
      ]
    },
    {
      "id": 862005,
      "postDate": "2020-05-26T11:11:23.933Z",
      "content": "<p>今年考研究生，哈工深真的那么好吗？</p>",
      "rawMarkdown": "今年考研究生，哈工深真的那么好吗？",
      "votes": -2
    },
    {
      "id": 1060437,
      "postDate": "2020-10-26T07:35:01.830Z",
      "content": "<p>Congratulations …..<br>\nWhat was the loss function used ? </p>",
      "rawMarkdown": "Congratulations .....\nWhat was the loss function used ? "
    },
    {
      "id": 744203,
      "postDate": "2020-02-12T16:45:32.213Z",
      "content": "<p>Congrats <a href=\"/bestpredict\">@bestpredict</a> and team. Thanks for sharing your solution.</p>",
      "rawMarkdown": "Congrats @bestpredict and team. Thanks for sharing your solution."
    },
    {
      "id": 742770,
      "postDate": "2020-02-11T14:33:02.530Z",
      "content": "<p>hey congratulations!!!</p>",
      "rawMarkdown": "hey congratulations!!!"
    },
    {
      "id": 742435,
      "postDate": "2020-02-11T09:45:03.957Z",
      "content": "<p>Congratulations and thank you for write up.  Seems like your stacking doesn't include Bert. \nHow did you come up with stacking weights ? 0.4 for Roberta large, 0.3 for Roberta Base and 0.3 for Xlnet.  </p>",
      "rawMarkdown": "Congratulations and thank you for write up.  Seems like your stacking doesn't include Bert. \nHow did you come up with stacking weights ? 0.4 for Roberta large, 0.3 for Roberta Base and 0.3 for Xlnet.  ",
      "replies": [
        {
          "id": 743127,
          "postDate": "2020-02-11T20:12:01.403Z",
          "content": "<p>based on oof train</p>",
          "rawMarkdown": "based on oof train"
        }
      ]
    },
    {
      "id": 742416,
      "postDate": "2020-02-11T09:35:18.653Z",
      "content": "<p>Congratulations, what <code>we use 0,1 reseting way</code> means? thank you</p>",
      "rawMarkdown": "Congratulations, what `we use 0,1 reseting way` means? thank you",
      "replies": [
        {
          "id": 742431,
          "postDate": "2020-02-11T09:41:20.030Z",
          "content": "<p>Calculate the threshold from the training set， if value&lt; thresold 1  , then reset value to 0,   and  if value &gt;thresold2  ,then reset value to 1</p>",
          "rawMarkdown": "\nCalculate the threshold from the training set， if value&lt; thresold 1  , then reset value to 0,   and  if value &gt;thresold2  ,then reset value to 1",
          "votes": 1
        },
        {
          "id": 742888,
          "postDate": "2020-02-11T16:18:20.200Z",
          "content": "<p>Awesome. Congrats on a great job. When you say \"from training set\", do you mean analyze the OOF from 5-Fold?</p>",
          "rawMarkdown": "Awesome. Congrats on a great job. When you say \"from training set\", do you mean analyze the OOF from 5-Fold?"
        },
        {
          "id": 743125,
          "postDate": "2020-02-11T20:10:40.557Z",
          "rawMarkdown": ""
        },
        {
          "id": 743131,
          "postDate": "2020-02-11T20:15:39.303Z",
          "content": "<p>yes ,based oof train</p>",
          "rawMarkdown": "yes ,based oof train",
          "votes": 1
        }
      ]
    },
    {
      "id": 742308,
      "postDate": "2020-02-11T08:18:02.770Z",
      "content": "<p>Congratulations!\nThanks for Sharing your Approach &amp; Insights!! <a href=\"/bestpredict\">@bestpredict</a> </p>",
      "rawMarkdown": "Congratulations!\nThanks for Sharing your Approach &amp; Insights!! @bestpredict "
    },
    {
      "id": 742193,
      "postDate": "2020-02-11T06:21:11.377Z",
      "content": "<p>Nice</p>",
      "rawMarkdown": "Nice",
      "replies": [
        {
          "id": 742233,
          "postDate": "2020-02-11T07:07:08.120Z",
          "content": "<p>thank u ,brother, thank  teammates</p>",
          "rawMarkdown": "thank u ,brother, thank  teammates"
        }
      ]
    },
    {
      "id": 742129,
      "postDate": "2020-02-11T04:56:42.857Z",
      "content": "<p>Excellect jobs. Thank you so much for learning so much.</p>",
      "rawMarkdown": "Excellect jobs. Thank you so much for learning so much.",
      "replies": [
        {
          "id": 742130,
          "postDate": "2020-02-11T04:57:10.987Z",
          "content": "<p>thank u, my brother</p>",
          "rawMarkdown": "thank u, my brother"
        }
      ]
    },
    {
      "id": 744570,
      "postDate": "2020-02-12T23:52:28.980Z",
      "content": "<p>Congrats, thank you for sharing.</p>",
      "rawMarkdown": "Congrats, thank you for sharing."
    }
  ],
  "complete": true,
  "source": "live",
  "fetched_at": "2026-10-19T19:07:40Z",
  "competition_id": 7968,
  "competition_slug": "google-quest-challenge",
  "team_id": 4026431,
  "solution_url": "/competitions/google-quest-challenge/writeups/cgii-5th-solution"
}