Coder Social home page Coder Social logo

tarun-bl / geoqa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chen-judge/geoqa

0.0 0.0 0.0 64 KB

Official Implement of ACL 2021 paper “GeoQA: A Geometric Question Answering Benchmark Towards Multimodal Numerical Reasoning”.

Python 100.00%

geoqa's Introduction

GeoQA

Jiaqi Chen, Jianheng Tang, Jinghui Qin, Xiaodan Liang, Lingbo Liu, Eric P. Xing, Liang Lin. “GeoQA: A Geometric Question Answering Benchmark Towards Multimodal Numerical Reasoning”. Annual Meeting of the Association for Computational Linguistics (Findings of ACL 2021). [PDF]

Download GeoQA benchmark: [Dropbox]

Environment

python=3.6

allennlp==0.9.0

Document for allennlp

Usage of NGS-Auxiliary

Preparing

git clone https://github.com/chen-judge/GeoQA.git

cd GeoQA

pip install requirements.txt

Download the data.zip, move it to GeoQA path, and unzip it.

Training

allennlp train config/NGS_Aux.json --include-package NGS_Aux -s save/test

Evaluation

Evaluate your trained model:

allennlp evaluate save/test  data/GeoQA2.2/test.pk --include-package NGS_Aux_test --cuda-device 0

Or, you can use our checkpoint NGS_Aux_CKPT.zip, move it to save path, unzip it, and run:

allennlp evaluate save/NGS_Aux_CKPT  data/GeoQA2.2/test.pk --include-package NGS_Aux_test --cuda-device 0

The result of our checkpoint should be:

Method Acc Angle Length Other
NGS-Auxiliary 60.7 72.0 47.0 44.4

geoqa's People

Contributors

chen-judge 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.