Go to the source code of this file.
|
std::unique_ptr< hashed_vocabulary > | nvtext::load_vocabulary_file (std::string const &filename_hashed_vocabulary, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
| Load the hashed vocabulary file into device memory. More...
|
|
tokenizer_result | nvtext::subword_tokenize (cudf::strings_column_view const &strings, hashed_vocabulary const &vocabulary_table, uint32_t max_sequence_length, uint32_t stride, bool do_lower_case, bool do_truncate, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
| Creates a tokenizer that cleans the text, splits it into tokens and returns token-ids from an input vocabulary. More...
|
|