"src/array/cuda/csr_sort.hip" did not exist on "619d735df5dc2a62eca5a00e11e4290407169cb1"
Commit 43dd21f7 authored by Mohammad Shoeybi's avatar Mohammad Shoeybi
Browse files

changed long seq length to 512

parent 2c58c9b0
......@@ -30,7 +30,7 @@
namespace py = pybind11;
using namespace std;
const int32_t LONG_SENTENCE_LEN = 256;
const int32_t LONG_SENTENCE_LEN = 512;
inline int32_t get_target_sample_len(const int32_t short_seq_ratio,
......@@ -154,7 +154,7 @@ py::array build_mapping_impl(const py::array_t<int64_t>& docs_,
}
}
// Detect documents with long sentences
// Detect documents with long sentences.
bool contains_long_sentence = false;
if (num_remain_sent > 1) {
for (auto sent_index=sent_index_first;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment