14 references to Cl100kBase
Microsoft.ML.Tokenizers (14)
Model\TiktokenTokenizer.cs (14)
1030( "gpt-4-", ModelEncoding.Cl100kBase), // e.g., gpt-4-0314, etc., plus gpt-4-32k
1031( "gpt-3.5-", ModelEncoding.Cl100kBase), // e.g, gpt-3.5-turbo-0301, -0401, etc.
1032( "gpt-35-", ModelEncoding.Cl100kBase ) // Azure deployment name
1041{ "gpt-4", ModelEncoding.Cl100kBase },
1042{ "gpt-3.5-turbo", ModelEncoding.Cl100kBase },
1043{ "gpt-3.5-turbo-16k", ModelEncoding.Cl100kBase },
1044{ "gpt-35", ModelEncoding.Cl100kBase }, // Azure deployment name
1045{ "gpt-35-turbo", ModelEncoding.Cl100kBase }, // Azure deployment name
1046{ "gpt-35-turbo-16k", ModelEncoding.Cl100kBase }, // Azure deployment name
1074{ "text-embedding-ada-002", ModelEncoding.Cl100kBase },
1075{ "text-embedding-3-small", ModelEncoding.Cl100kBase },
1076{ "text-embedding-3-large", ModelEncoding.Cl100kBase },
1122case ModelEncoding.Cl100kBase:
1453modelEncoding = ModelEncoding.Cl100kBase;