Tencent / NeuralNLP-NeuralClassifier

An Open-source Neural Hierarchical Multi-label Text Classification Toolkit
Other
1.85k stars 406 forks source link

does TNeuralNLP-NeuralClassifier use fixed length as input with padding or non-fixed length ? #101

Closed SeekPoint closed 3 years ago

coderbyr commented 3 years ago

In each batch samples, sample will be padding to the maximum length of batch samples' lengths. while feature. max_token_len and feature. max_char_len represents the maximum truncated length of each sample.