Skip to content

psunlpgroup/FISH-DIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FISH-DIP

Source code and relevant scripts for our EMNLP 2023 paper: "Unified Low-Resource Sequence Labeling by Sample-Aware Dynamic Sparse Finetuning".

Requirements

  • Python 3.8.5
  • PyTorch (tested version 1.8.1)
  • Transformers (tested version 4.20.0)
  • networkx 2.5

Datasets

For downloading and preprocessing all datasets please refer to TANL. You might need permission to gain access to some datasets.

Running the Source Code

  • For all the associated tests, run the relevant script in the scripts directory.
  • The scripts assume the availability of 4X 48GB GPUs (except multiwoz - 8X) to get comparable sizes as original TANL. For lower number and memory of GPUs, adjust accordingly. When changing batch sizes, you should probably also adjust the number of epochs and also expect some performance differences.
  • All the finetuned output logs and output models will be available in this link

Citation

@inproceedings{das2023unified,
  title={Unified Low-Resource Sequence Labeling by Sample-Aware Dynamic Sparse Finetuning},
  author={Das, Sarkar Snigdha Sarathi and Zhang, Ranran Haoran and Shi, Peng and Yin, Wenpeng and Zhang, Rui},
  booktitle={EMNLP},
  year={2023}
}

About

Code for EMNLP 2023 paper "Unified Low-Resource Sequence Labeling by Sample-Aware Dynamic Sparse Finetuning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published