Coder Social home page Coder Social logo

alessiocpt / teriyaki Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 31.04 MB

Teriyaki: A Framework to Generate Neurosymbolic PDDL-compliant Planners

License: MIT License

Python 0.03% Jupyter Notebook 0.85% C++ 0.49% Yacc 0.14% PDDL 66.99% Roff 31.50%
ai gpt-3 machine-learning task-planning

teriyaki's Introduction

Teriyaki: A Framework for Neurosymbolic Action Planning using Large Language Models

Read the paper on ArXiv

Highlights

Usage instructions

This repo contains the dataset used for the experiments and a tutorial-style Jupyter notebook with all the steps needed to fine-tune a GPT-3 model into a PDDL solver. The paper's results are also included.

Most of the notebook's blocks should be independent from each other and are intended to be run one by one.

If you want to run the code you will need an OpenAI API key. Most blocks read the api key from a file key.txt located in the parent folder of the repository. You create such file with your key to quickly replicate the results without pasting your key in each block.

Each block is documented with references to the GPT-3 documentation and a basic explanation of the steps performed. GPT-3 documentation is constantly evolving thus you may encounter slight misalignements.

DISCLAIMER: the project scope has grown significantly since its inception. This repo could use some reformatting and cleanup. The code should work and be clear to understand but you might encounter cost inefficiencies in the fine-tuning and testing procedures, duplicate code, code that is not completely parametrized and needs to be modified to perform operations on specific batches of the dataset, minor inconsistencies in the directory tree generation, etc..

Contacts

Alessio Capitanelli

teriyaki's People

Contributors

alessiocpt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

songdohou

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.