fastHan: A BERT-based Multi-Task Toolkit for Chinese NLP
We present fastHan, an open-source toolkit for four basic tasks in Chinese natural language processing: Chinese word segmentation (CWS), Part-of-Speech (POS) tagging, named entity recognition (NER), and dependency parsing. The backbone of fastHan is a multi-task model based on a pruned BERT, which uses the first 8 layers in BERT. We also provide a 4-layer base model compressed from the 8-layer model. The joint-model is trained and evaluated on 13 corpora of four tasks, yielding near state-of-the-art (SOTA) performance in dependency parsing and NER, achieving SOTA performance in CWS and POS. Besides, fastHan's transferability is also strong, performing much better than popular segmentation tools on a non-training corpus. To better meet the need of practical application, we allow users to use their own labeled data to further fine-tune fastHan. In addition to its small size and excellent performance, fastHan is user-friendly. Implemented as a python package, fastHan isolates users from the internal technical details and is convenient to use. The project is released on Github.
Code (1)
Tasks
Chinese Word SegmentationDependency Parsingnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NERPart-Of-Speech TaggingPOSPOS TaggingMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Fast Monocular Hand Pose Estimation on Embedded Systems
Hand pose estimation is a fundamental task in many human-robot interaction-related applications. However, previous approaches suffer from unsatisfying hand landmark predictions in real-world scenes and high computation b…
DecoderGesture RecognitionHand Gesture RecognitionHand-Gesture Recognition+2PKUSEG: A Toolkit for Multi-Domain Chinese Word Segmentation
Chinese word segmentation (CWS) is a fundamental step of Chinese natural language processing. In this paper, we build a new toolkit, named PKUSEG, for multi-domain word segmentation. Unlike existing single-model toolkits…
Chinese Word SegmentationDomain AdaptationPOSPOS Tagging+1N-LTP: An Open-source Neural Language Technology Platform for Chinese
We introduce \texttt{N-LTP}, an open-source neural language technology platform supporting six fundamental Chinese NLP tasks: {lexical analysis} (Chinese word segmentation, part-of-speech tagging, and named entity recogn…
Chinese Word SegmentationDependency ParsingKnowledge DistillationLexical Analysis+7STAC: Science Toolkit Based on Chinese Idiom Knowledge Graph
Chinese idioms (Cheng Yu) have seen five thousand years{'} history and culture of China, meanwhile they contain large number of scientific achievement of ancient China. However, existing Chinese online idiom dictionaries…
Cultural Vocal Bursts Intensity PredictionMVP-BERT: Redesigning Vocabularies for Chinese BERT and Multi-Vocab Pretraining
Despite the development of pre-trained language models (PLMs) significantly raise the performances of various Chinese natural language processing (NLP) tasks, the vocabulary for these Chinese PLMs remain to be the one pr…
Chinese Word SegmentationLanguage ModelingLanguage ModellingSentence