AdeDZY / DeepCT

DeepCT and HDCT uses BERT to generate novel, context-aware bag-of-words term weights for documents and queries.
BSD 3-Clause "New" or "Revised" License
312 stars 46 forks source link

There are several bugs in code. #3

Closed sookienlane closed 4 years ago

sookienlane commented 4 years ago
  1. Line 63-65: do_train and do_lower_case
  2. miss max_seq_len
  3. miss use_all_layers
  4. no "TREC19MarcoDocProcessor"
AdeDZY commented 4 years ago

Thank you very much for pointing out the bugs! I accidentally deleted a few lines of code. I have recovered those lines. I've also removed the unused "TREC19MarcoDocProcessor".

https://github.com/AdeDZY/DeepCT/blob/6897f97599ee7cf35e9241c6fc224dca23e7d696/run_deepct.py#L63