You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor jestream to allow different tokenizers #45
Uses of tokenizer should restrict to only this methods.
In particular: encode should do both encoding and padding. So jetstream doesnt do any padding itself; the engine can choose how to pad (or not to pad) by returning a custom tokenizer object whose encode also does the padding.
Activity
bhavya01 commentedon May 2, 2024
#53, #67 adds the interface for tokenizer. Still need to work on ResultTokens.