GithubHelp home page GithubHelp logo

zijizhu / linc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benlipkin/linc

0.0 0.0 0.0 15.41 MB

๐Ÿ”— LINC: Logical Inference via Neurosymbolic Computation [EMNLP2023]

Shell 0.15% Python 7.71% Makefile 0.10% Jupyter Notebook 92.03%

linc's Introduction

LINC: Logical Inference via Neurosymbolic Computation

Repository for the paper LINC: A neuro-symbolic approach for logical reasoning by combining language models with first-order logic provers by Theo X. Olausson*, Alex Gu*, Ben Lipkin*, Cedegao E. Zhang*, Armando Solar-Lezama, Joshua B. Tenenbaum, & Roger P. Levy, to be presented at EMNLP 2023.

Code is provided to reproduce all experiments and figures.

Setup

Requirements: Anaconda, Make, Prover9

make setup

Usage

To rerun our exact experiments:

nano SUBMIT.sh # cfg for own cluster and submit contents of $JOB env variable
make run

To run custom experiments within our framework:

accelerate launch runner.py **kwargs
# see `eval/args.py` for options.

To replicate figures and tables from provided outputs:

touch outputs/run.done # don't rerun analyses
make analyze # core tables and figures
# see `analysis/notebooks` for supplemental tables and figures

Acknowledgements

This evaluation framework structure is adapted from the BigCode project and EleutherAI whom we thank for their contributions to open source.

Citation

@inproceedings{OGLZ_LINC_2023,
	author={Theo X. Olausson* and Alex Gu* and Ben Lipkin* and Cedegao E. Zhang* and Armando Solar-Lezama and Joshua B. Tenenbaum and Roger P. Levy},
	title={LINC: A neuro-symbolic approach for logical reasoning by combining language models with first-order logic provers},
	year={2023},
	journal={Proceedings of the Conference on Empirical Methods in Natural Language Processing},
}

linc's People

Contributors

zijizhu avatar benlipkin avatar theoxo 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.