Giter VIP home page Giter VIP logo

yu-aistats22-code's Introduction

NPLM Experiments

NPLM is a programmatic weak supervision system that supports (partial) labeling functions with supervision granularites ranging from class to a set of classes.

For the underlying weak supervision system, further documentation and tutorials, please see NPLM repo.

To use the experimental code, please first install the nplm package from NPLM repo.

This is the codebase for the experiments mentioned in Learning from Multiple Noisy Partial Labelers.

Code Organization & General Instructions

The code is organized by task, please refer to corresponding <dataset_name>pipeline.ipynb and run_end_model<dataset_name>.py (for text tasks). Please refer to votes for plf votes for the image tasks and annotators/ for interfaces and plfs for bot image and text tasks. For Object detection (vision) tasks, label modeling and end model training are included in <dataset_name>_pipeline.ipynb. For text classification tasks, PLFs curation and label modeling are in <dataset_name>pipeline.ipynb, and it can produce the probabilistic labels to train the end model with run_end_model<dataset_name>.py.

Environment Setupinstall

conda create --name nplm python=3.7
conda activate nplm
pip install -r requirements.txt
git clone https://github.com/BatsResearch/nplm.git
cd nplm; pip install .

Data

Preprocessed text data is included in this repo. To download the image data, please run

./download_image_dataset.sh

Checklist

  • Code (v0.1)
  • Text Data
  • Image Data (Configuring Data Hosting)
  • Instructions
  • Documentation

Citation

Please cite the following paper if you are using our tool. Thank you!

Peilin Yu, Tiffany Ding, Stephen H. Bach. "Learning from Multiple Noisy Partial Labelers". Artificial Intelligence and Statistics (AISTATS), 2022.

@inproceedings{yu2022nplm,
  title = {Learning from Multiple Noisy Partial Labelers}, 
  author = {Yu, Peilin and Ding, Tiffany and Bach, Stephen H.}, 
  booktitle = {Artificial Intelligence and Statistics (AISTATS)}, 
  year = 2022, 
}

yu-aistats22-code's People

Contributors

dotpyu avatar

Watchers

James Cloos 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.