macanv / BERT-BiLSTM-CRF-NER

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services
https://github.com/macanv/BERT-BiLSMT-CRF-NER
4.67k stars 1.25k forks source link

shape of input_ids (?, 202) #385

Open yohowitch opened 3 years ago

yohowitch commented 3 years ago

为啥有时候会有batch_size,有时候没有呢? 难道是不足batch_size,但是我batch_size设置为2时,也会有(?,202) 还望解答