Skip to content
BERT trial for chinese corpus classfication
Branch: master
Clone or download
Latest commit 4fecfcb Mar 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__pycache__ trial for BERT fine tune with Chinese model Nov 30, 2018
dataset revision Dec 3, 2018
README.md Update README.md Mar 29, 2019
__init__.py trial for BERT fine tune with Chinese model Nov 30, 2018
launch.sh
modeling.py trial for BERT fine tune with Chinese model Nov 30, 2018
optimization.py MODULE Dec 3, 2018
predict_eval.py Update predict_eval.py Dec 4, 2018
requirements.txt trial for BERT fine tune with Chinese model Nov 30, 2018
run_classifier.py trial for BERT fine tune with Chinese model Nov 30, 2018
tokenization.py trial for BERT fine tune with Chinese model Nov 30, 2018
tokenization_test.py trial for BERT fine tune with Chinese model Nov 30, 2018

README.md

BERT_classifer_trial

BERT trial for chinese corpus classfication

Please download pretrained BERT chinise model from Pretrained Chinese Model

Just run launch.sh then the fine-tune process will intial.

Please modify the path from launch.sh and the path of out_dir in the run_classfier.py script

If you want to do the inference, you need to prepare the test file and open do_predict in run_classfier.py.

Script predict_eval.py may help you evaluate the inference result.

You can’t perform that action at this time.