AI Dynamics

Global AI News Aggregator

GPT2 Tokenizer as Default Method with Overridable Class

The default method for calculating this uses @huggingface
's GPT2 tokenizer But since its a class method, if different models use different tokenizers this can be overwritten h/t @brucehammer for implementing the logic, and then Zac on Discord for suggesting this interface

→ View original post on X — @langchain,

Commentaires

Leave a Reply

Your email address will not be published. Required fields are marked *