yuanxiaosc/BERT-for-Sequence-Labeling-and-Text-Classification
This is the template code to use BERT for sequence lableing and text classification, in order to facilitate BERT for more tasks. Currently, the template code has included conll-2003 named entity identification, Snips Slot Filling and Intent Prediction.
Built on TensorFlow with Google's pretrained BERT model, this template supports both sequence labeling and text classification through fine-tuning, with optional LSTM layers for joint intent/slot tasks. Pre-trained checkpoints and inference scripts are provided for immediate use on ATIS and Snips datasets, while custom tasks can be added by implementing a DataProcessor subclass and registering it in the main pipeline.
471 stars. No commits in the last 6 months.
Stars
471
Forks
96
Language
Python
License
Apache-2.0
Category
Last pushed
Dec 08, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/yuanxiaosc/BERT-for-Sequence-Labeling-and-Text-Classification"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
sz128/slot_filling_and_intent_detection_of_SLU
slot filling, intent detection, joint training, ATIS & SNIPS datasets, the Facebook’s...
asappresearch/dialog-intent-induction
Code and data for paper "Dialog Intent Induction with Deep Multi-View Clustering", Hugh Perkins...
dborrelli/chat-intents
Clustering sentence embeddings to extract message intent
hellohaptik/HINT3
This repository contains datasets and code for the paper "HINT3: Raising the bar for Intent...
taishan1994/pytorch_bert_intent_classification_and_slot_filling
基于pytorch的中文意图识别和槽位填充