Enumerationswift-transformers 0.1.17Tokenizers
ChatTemplateArgument
Tokenizer.swift:115enum ChatTemplateArgument
enum ChatTemplateArgument
import Tokenizers
case literal(String)
A Jinja template to use for the conversation. Normally it is not necessary to provide a template, since it will be read from the tokenizer config.
case name(String)
For models whose tokenizer config includes multiple chat templates, the template can be specified by name. Normally this is not necessary.