GithubHelp home page GithubHelp logo

rerobbins / w266_final_project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeanlucjackson/w266_nlp_final_project

0.0 0.0 0.0 37.21 MB

Final project repository for UCB MIDS W266. Group: Bronte Baer, Jean-Luc Jackson, Richard Robbins

License: MIT License

Jupyter Notebook 100.00%

w266_final_project's Introduction

w266_final_project

Final project repository for UCB MIDS W266. Group: Bronte Baer, Jean-Luc Jackson, Richard Robbins

Project File Organization

We utilize our Google Drive project folder to avoid GitHub’s large file restrictions. All datasets, models, and predictions can be found in our Google Drive.

Repo File Organization

code

Contains working folders for each team member. These are unstructured.

data

Points you to our Google Drive project folder — see note above and section below.

Google Drive File Organization

Data

Contains a folder for each dataset, formatted as <dataset-name>.hf. Each folder contains the post-processed train and validation data, named <model>_train_pairs.csv and <model>_valid_pairs.csv respectively. Here, <model> indicates how the data was formatted — as input into T5, BART, etc.

  • quac.hf
    • (miscellaneous files/folders)
    • ...train_pairs.csv
    • ...valid_pairs.csv
  • squad.hf
    • ...train_pairs.csv
    • ...valid_pairs.csv
  • trivia_qa_rc.hf
    • ...train_pairs.csv
    • ...valid_pairs.csv

Models

Contains a folder for each model, formatted as <checkpoint>_<framework>_<training-dataset(s)>. Here, <checkpoint> refers to the Hugging Face model checkpoint we used (with underscores in place of hyphens or spaces). <framework> refers to the machine learning coding framework, either PyTorch (pt) or TensorFlow/Keras (tf). <training-dataset(s)> refers to the datasets used to fine-tune the model, listed alphabetically and separated by underscores.

  • T5_base_pt_squad
    • checkpoints
    • (other model-related files/folders)
  • T5_base_tf_squad
    • checkpoints
    • (other model-related files/folders)

Notes

Contains miscellaneous notes related to our project.

Predictions

Contains a folder for each model with folder names matching the formatting of the Models folder above. Each model folder here contains a predictions.csv with two columns: target | prediction. The target is the question we are aiming to generate and the prediction is the question actually generated by the model.

This folder also contains a notebook generate_predictions.ipynb that generates the described CSV and evaluates the predictions saved in each subfolder. These evaluations are summarized in our project report.

Reference Material

Contains related literature to our project, including inspiration and generally related works.

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.