Git Product home page Git Product logo

chaii's Introduction

chaii

Chaii - Hindi and Tamil Question Answering Kaggle Competition Solution

Reproduction instructions

Training

I trained all my models via jupyter notebooks. The notebooks used to train the models from my final ensemble are saved in the training_notebooks folder.

The notebooks refer to the following csv files:

In some instances I used an interim checkpoint when both local CV and public LB indicated it's better than final checkpoint. The following table illustrates that. Note that due to some potential randomness I'd recommend to watch validation when reproducing the results.

Experiment data backbone schedule wmup ep lr (e-5) wd bs/ga seqlen LB Checkpoint
52 XLMR pretraining 2/2 epochs squad+tydi beteen, neg sampling 0.1, 384/192, eval on chaii xlm-roberta-large linear 0.2 2 1 0.01 8/4 384/192 786 final
68 tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 1/3 xlm-roberta-large linear 0.2 1 1 0.01 8/4 384/192 788 final
71 tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 1/3 muril-large linear 0.1 1 3 0.01 8/4 384/192 802 checkpoint 7000
73 tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 2/3 muril-large linear 0.1 1 3 0.01 8/4 384/192 798 checkpoint 7000
77-final tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 1/3 rembert linear 0.1 1 1 0.01 8/16 384/192 786 final
78-final tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 0/3 rembert linear 0.1 1 1 0.01 8/16 384/192 782 final
79-1000 tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 2/3 rembert linear 0.1 1 1 0.01 8/16 384/192 790 checkpoint 1000
79-final tydi beteen + squad, tydi beteen + nqsmall, chaii all data, fold 2/3 rembert linear 0.1 1 1 0.01 8/16 384/192 783 final
116 progressive resizing, data recipes, fold 0 xlm-roberta-large linear 0.2 1 1 0.01 8/4 256-448 786 final
119f1 progressive resizing, cutout 0.1, data recipes, fold 1 xlm-roberta-large linear 0.2 1 1 0.01 8/4 256-384 791 final
119f2 progressive resizing, cutout 0.1, data recipes, fold 2 xlm-roberta-large linear 0.2 1 1 0.01 8/4 256-384 785 final
122f0 progressive resizing, cutout 0.03, longer seqlen, smaller LR muril-large linear 0.1 1 2.5 0.01 8/4 384-448 801 checkpoint 4000
126-s1 1 epoch all data, no cutout rembert linear 0.1 1 1 0.01 8/16 384 793 final

Inference

I published my inference notebook along with the used datasets on Kaggle: https://www.kaggle.com/thedrcat/chaii-ensemble-10postuning/notebook

You can use that notebook to run inference.

chaii's People

Contributors

kldarek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.