Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

NEZHA: Neural Contextualized Representation for Chinese Language Understanding

About

The pre-trained language models have achieved great successes in various natural language understanding (NLU) tasks due to its capacity to capture the deep contextualized information in text by pre-training on large-scale corpora. In this technical report, we present our practice of pre-training language models named NEZHA (NEural contextualiZed representation for CHinese lAnguage understanding) on Chinese corpora and finetuning for the Chinese NLU tasks. The current version of NEZHA is based on BERT with a collection of proven improvements, which include Functional Relative Positional Encoding as an effective positional encoding scheme, Whole Word Masking strategy, Mixed Precision Training and the LAMB Optimizer in training the models. The experimental results show that NEZHA achieves the state-of-the-art performances when finetuned on several representative Chinese tasks, including named entity recognition (People's Daily NER), sentence matching (LCQMC), Chinese sentiment classification (ChnSenti) and natural language inference (XNLI).

Junqiu Wei, Xiaozhe Ren, Xiaoguang Li, Wenyong Huang, Yi Liao, Yasheng Wang, Jiashu Lin, Xin Jiang, Xiao Chen, Qun Liu• 2019

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (dev)
Accuracy82.21
71
Named Entity RecognitionOntoNotes 4.0 (test)
F1 Score81.74
55
Chinese Word SegmentationPKU (test)
F196.67
32
Natural Language InferenceNatural Language Inference (NLI) (test)
Accuracy81.17
23
Chinese Word SegmentationMSRA (test)
F1 Score98.61
17
Named Entity RecognitionFinance (test)
F1 Score85.15
14
Chinese Word SegmentationCTB 6.0 (test)
F1 Score97.53
12
Sentence Pair MatchingSentence Pair Matching (SPM) (test)
Accuracy87.94
12
Sentiment AnalysisSentiment Analysis (SA) (dev)
Accuracy95.92
12
Sentiment AnalysisSentiment Analysis (SA) (test)
Accuracy96
12
Showing 10 of 16 rows

Other info

Follow for update