Git Product home page Git Product logo

probspace-spam-mail-competition's Introduction

ProbSpace スパムメール判別 6th Place Solution

pre-process

  • メール内の一番最初の改行コードを[SEP]に置換
    • メールのタイトルと本文をBERTに区別して入力
    • 文頭の"Subject: "は除去しなかった

modeling

  • Stratified 5-Fold
  • models
    • BERT
    • RoBERTa
    • Electra
    • 上記3つの出力の平均をとってアンサンブル
  • 各層の[CLS]のhidden stateの重み付き平均を出力
  • 各層ごとにlearning rateを設定
  • multi-sample dropout
  • cosine_schedul_with_warmup

post-process

what did not work

  • 本文中に多く登場した'enron', 'ect', 'hou'をtokenizerの辞書に追加
  • XLNet
    • もっとしっかりチューニングをすれば効果的だったかもしれない

result

Public Score

  • 5位 public score

Private score

  • 6位 private score

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.