murray-z / multi_label_classification

基于pytorch + bert的多标签文本分类(multi label text classification)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

基于bert多标签分类

步骤

  • 数据样例见data/train.json
  • 获得label2idx.json python data_preprocess.py
  • 训练 python train.py
  • 预测 pyhton predict.py

About

基于pytorch + bert的多标签文本分类(multi label text classification)


Languages

Language:Python 100.0%