/bert

TensorFlow code and pre-trained models for BERT

Primary LanguagePythonApache License 2.0Apache-2.0

BERT For Specific Tasks

fine-tuning for classification

-- modify and run run_classifier.py

getting token sequence features (emb_fine_tune.h5)

-- modify and run downstream/token_features.py

getting sentence sequence features (emb_sentences.h5)

-- modify and run downstream/sentence_features.py

在BERT项目源码的基础上尝试微调分类任务以及获取句向量任务。

系列文章(个人主页)

系列文章(csdn)

因为种种原因如果个人主页无法访问请访问博客园文章