另外 masks_tensor 以及 segments_tensor 在 [PAD] 對應位置的值也都是0,切記切記。 有了這些背景知識以後,要實作一個 Dataset 並將原始文本轉換成BERT ...
確定! 回上一頁