GithubHelp home page GithubHelp logo

allenai / quoref-leaderboard-example Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 0.0 24 KB

Submission of XLNet baseline to the Quoref leaderboard

License: MIT License

Dockerfile 0.93% Shell 0.70% Python 98.37%

quoref-leaderboard-example's Introduction

XLNet QA Baseline for Quoref

This repository shows an example submission to the Quoref leaderboard. The model is XLNet based QA model implemented by HuggingFace in pytorch-transformers. You can find a description of the Quoref dataset and the baseline models in our EMNLP 2019 paper.

The main script is run_model.sh which downloads the XLNet QA model trained on Quoref from S3 and predicts from /quoref/nolabels.json, which is the location at which the leaderboard mounts the input file. It runs two different Beaker experiments for development and test sets, and in both experiments, the input file is mounted at the same location. Note that /quoref/ is mounted as a read-only file system. If you need to write temporary files, please do so in /tmp/.

Follow the instructions below to create a Docker container and publish it as a Beaker image, which can then be submitted as a leaderboard entry.

Requirements

Submitting to the leaderboard

Follow the these steps in the repository root directory:

  1. Create a docker image:

     docker build -t xlnet_quoref_model .
    
  2. Upload an image to beaker:

     beaker image create -n my-quoref-model-image xlnet_quoref_model:latest
    

    NOTE: The image name (e.g., my-quoref-model-image) should be unique in beaker under your account.

  3. Make a submission:

    • Follow the steps on the Quoref leaderboard to gain access to making submissions.
    • On the new submission form, make sure to enter your image name (e.g., my-quoref-model-image).

quoref-leaderboard-example's People

Contributors

pdasigi avatar

Stargazers

李熠阳 avatar 兿然 avatar Jiwung Hyun avatar Bhargavi Paranjape avatar wuwei avatar Deming Ye avatar

Watchers

James Cloos avatar Marc Millstone avatar  avatar Allen Institute for Artificial Intelligence avatar Deming Ye avatar  avatar paper2code - bot 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.