NLICollator
Reference API for NLICollator
class liqfit.collators.NLICollator
class liqfit.collators.NLICollator
Parameters:
tokenizer (AutoTokenizer, Callable): The tokenizer used to process the input data from texts to input IDs.
max_length (int): Max length that will be used while tokenizing the input sequences.
padding: (Union[bool, str]): Option to specify whether to use pad sequences while tokenization or not.
truncation (bool): Option to specify whether to use truncate sequences while tokenization or not.
Using NLICollator
Last updated