Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 875 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 875 Bytes

subnetwork-probing

This repository is forked from the original repository to extend functionality

This is code for the paper:
Low-Complexity Probing via Finding Subnetworks
Steven Cao, Victor Sanh, Alexander M. Rush
NAACL-HLT 2021

installation

run $ conda env create -n subnet_prob --file environment.yml to install dependencies

Dependencies

This code was tested with python 3.6, pytorch 1.1, and pytorch-transformers 1.2.

Data

This paper uses the Universal Dependencies dataset for dependencies and part-of-speech tagging, and the CoNLL 2003 NER Shared Task for named entity recognition.

Running the code

To run the main experiment in the paper, run python main.py PATH_TO_SAVE_DIRECTORY.