a2rl.AutoTokenizer.from_seq_to_dataframe#

AutoTokenizer.from_seq_to_dataframe(seq, inverse=True)[source]#

Convert sequence of tokenized value back into original value, in the form of dataframe.

Parameters:
  • seq (ndarray) – The sequence length must be of multiple of column lenght.

  • inverse (bool) – Converted dataframe token back into original value when True, else it still stay as dataframe token when False.

Return type:

DataFrame

Returns:

DataFrame of original values.