Skip to content
forked from S1s-Z/SCL-RAI

Code for "SCL-RAI: Span-based Contrastive Learning with Retrieval Augmented Inference for Unlabeled Entity Problem in NER" @COLING-2022

Notifications You must be signed in to change notification settings

pkunlp-icler/SCL-RAI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCL-RAI

Hi, this is the code of our paper "SCL-RAI: Span-based Contrastive Learning with Retrieval Augmented Inference for Unlabeled Entity Problem in NER" accepted by COLING 2022.

News:

Accepted by COLING 2022. 2022.08.16

Code released at Github. 2022.08.16

Preparation

  1. Download pretrained LM: bert-base-chinese model.pt and put it into resource/bert-base-chinese
  2. Use requirements.txt to get the right environments.

Reproduce results

For EC:

sh train_EC.sh

For NEWS:

sh train_NEWS.sh

We got our results in single A40.

About

Code for "SCL-RAI: Span-based Contrastive Learning with Retrieval Augmented Inference for Unlabeled Entity Problem in NER" @COLING-2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.0%
  • Perl 37.5%
  • Shell 0.5%