A step of the chronos_native implementation. Called by morie_chronos.
See the file header for the source the module follows.
the source it follows.
Value
A list with estimate, tokens, scale, n_clipped,
clipped_fraction, vocab_size, method, ignores.
Examples
bins <- chronos_uniform_bins(lo = -15, hi = 15, n_bins = 64L)
chronos_tokenize(c(10, 12, 9, 11, 13), bins)$tokens
#> [1] 33 34 33 34 34 -2
