Git Product home page Git Product logo

lmeval's Introduction

Setup instructions for running evaluation

  1. Git clone lm-evaluation-harness in this directory

    git clone https://github.com/EleutherAI/lm-evaluation-harness.git

  2. Create know_dist.yaml in the lm-evaluation/lm_eval/tasks/benchmarks with the following code:

    group: know_dist
    task:
    - headqa_en
    - headqa_es
    - paws_en
    - paws_es
    - paws_zh
    - xnli_en
    - xnli_es
    - xnli_zh
    - xstorycloze_en
    - xstorycloze_es
    - xstorycloze_zh
    - lambada_openai_mt_en
    - lambada_openai_mt_es
    
  3. run the install.sh script in your environment

  4. change directory to /jobs and sbatch the model

Note: if you need to change the job script or create a new one then there are three things that you are crucial when you change it:

  1. model_name: name that the results will have, mostly for properly keeping track of which model is which
  2. model_path: where the model is located. This is the huggingface pretrained_model_name_or_path so you can also provide it with for example bigscience/bloom-3B to load a model from huggingface.
  3. output_path: location where the results will be saved.

You might also want to change the SBATCH job-name as it makes it much easier to find the right error and output log file if you name it after the model. Most other things should not be touched except for other SBATCH settings in case you don't have red queue access or something similar. Each evaluation job script should run for roughly 30 min.

lmeval's People

Contributors

johanlaursen 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.