xuyige / BERT4doc-Classification

Code and source for paper ``How to Fine-Tune BERT for Text Classification?``
Apache License 2.0
611 stars 99 forks source link

0 instances wrote while further pre-training on my own dataset #22

Closed rak55 closed 2 years ago

rak55 commented 2 years ago

Hey, When i run the command create_pretraining_data.py i see the following msg:

INFO:tensorflow: Reading from input files I1210 15:59:58.812381 140714487977856 create_pretraining_data.py:419] Reading from input files INFO:tensorflow: Writing to output files I1210 15:59:58.815751 140714487977856 create_pretraining_data.py:430] Writing to output files INFO:tensorflow: tmp/tf_AGnews.tfrecord I1210 15:59:58.815884 140714487977856 create_pretraining_data.py:432] tmp/tf_AGnews.tfrecord WARNING:tensorflow:From create_pretraining_data.py:97: The name tf.python_io.TFRecordWriter is deprecated. Please use tf.io.TFRecordWriter instead.

W1210 15:59:58.816398 140714487977856 module_wrapper.py:139] From create_pretraining_data.py:97: The name tf.python_io.TFRecordWriter is deprecated. Please use tf.io.TFRecordWriter instead.

INFO:tensorflow:Wrote 0 total instances I1210 15:59:58.819541 140714487977856 create_pretraining_data.py:162] Wrote 0 total instances Does this mean no data is created? If, yes, can you tell me why this is happening?

Thanks in advance.

jennierubyjanee commented 2 years ago

Did you solve this problem?How?