GithubHelp home page GithubHelp logo

davidherel / sota_lm Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 63.16 MB

Repository containing state-of-the-art ensemble for several language modelling benchmarks

License: MIT License

HTML 85.85% Python 14.15%

sota_lm's Introduction

Ensemble of All

Repository containing Ensemble of Language Models on several LM benchmarks.

Thanks to this works one does not need to create an individual model that is the new state of the art to attract attention; it is sufficient to develop a new model that learns patterns which other models do not. Thus, even a suboptimal model can be found to have value.

quick start

To run evaluation of code on all datasets:

$ python main.py

This will create optimal weighted combination of models in ensemble on each dataset. It will also generate index.html containing graphs and charts: LM Leaderboard

results

Perplexity on validation and test with Ensemble of All:

dataset valid ppl test ppl
penntreebank 48.92 47.31
wikitext-2 55.40 53.73
wikitext-103 13.12 13.29

addition of new models

New models can be easily add to the ensemble by producing probabilities of words on valid and test set and then they can be put into specific folders regarding datasets. We have reproduced most of the open sourced models and their probabilities on each word can be seen in individual folders PennTreeBank, Wikitext-2,Wikitext-103.

citation

Please cite the arxiv paper if you use our work:

@misc{herel2023advancing,
      title={Advancing State of the Art in Language Modeling}, 
      author={David Herel and Tomas Mikolov},
      year={2023},
      eprint={2312.03735},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

License

Our code is MIT licensed. See the LICENSE file for details.

sota_lm's People

Contributors

davidherel avatar

Stargazers

dinhanhx avatar Michał Wiliński avatar Laxman Singh Tomar avatar Vicki Boykis avatar Kento Nozawa avatar  avatar Stefan Schweter 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.