THUNLP's repositories
TensorFlow-TransX
An implementation of TransE and its extended models for Knowledge Representation Learning on TensorFlow
Fast-TransX
An Efficient implementation of TransE and its extended models for Knowledge Representation Learning
RE-Context-or-Names
Bert-based models(BERT, MTB, CP) for relation extraction.
SelectiveMasking
Source code for "Train No Evil: Selective Masking for Task-Guided Pre-Training"
StyleAttack
Code and data of the EMNLP 2021 paper "Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer"
HiddenKiller
Code and data of the ACL-IJCNLP 2021 paper "Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger"
Seq2Seq-Prompt
Source code for COLING 2022 paper "Automatic Label Sequence Generation for Prompting Sequence-to-sequence Models"
FastPromptTuning
Source code for Findings of EMNLP 2022 paper "FPT: Improving Prompt Tuning Efficiency via Progressive Training"”