Code Monkey home page Code Monkey logo

neuralprograminterfaces's Introduction

๐Ÿ“‹ A template README.md for code accompanying a Machine Learning paper

Towards Neural Program Interfaces

This repository is the official implementation of "Towards Neural Program Interfaces" (https://arxiv.org/abs/2030.12345).

๐Ÿ“‹ Optional: include a graphic explaining your approach/main result, bibtex entry, link to demos, blog posts and tutorials

Requirements

To install requirements:

pip install -r requirements.txt

๐Ÿ“‹ Describe how to set up the environment, e.g. pip/conda/docker commands, download datasets, etc...

Dataset generation

To generate a dataset, run this command:

python construct_data.py --word <word>

Training classifier

To train a classifier model on the generated dataset, run this command:

python train_classifier.py

Evaluating classifier

To evaluate a classifier model, run this command:

python test_classifier.py

Training NPI

To train an NPI model, run this command:

python train_npi.py

Evaluating NPI

To evaluate an NPI model, run this command:

python evaluate_npi_fast.py

๐Ÿ“‹ Describe how to train the models, with example commands on how to train the models in your paper, including the full training procedure and appropriate hyperparameters.

๐Ÿ“‹ Describe how to evaluate the trained models on benchmarks reported in the paper, give commands that produce the results (section below).

Pre-trained Models

You can download pretrained models here:

๐Ÿ“‹ Give a link to where/how the pretrained models can be downloaded and how they were trained (if applicable). Alternatively you can have an additional column in your results table with a link to the models.

Results

Our model achieves the following performance on :

Model name Top 1 Accuracy Top 5 Accuracy
My awesome model 85% 95%

๐Ÿ“‹ Include a table of results from your paper, and link back to the leaderboard for clarity and context. If your main result is a figure, include that figure and link to the command or notebook to reproduce it.

Contributing

๐Ÿ“‹ Pick a licence and describe how to contribute to your code repository.

neuralprograminterfaces's People

Contributors

n8rob avatar zacharycbrown avatar

Watchers

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