When I use my finetuning model i get this error
Failed to calculate number of tokens, falling back to approximate count Error: Unknown model
i took a look in the code and the getEncodingNameForModel function expect the exact model's name, but if we use a simple contains it will solve the problem since the openAI models use the base model's name in the finetuned models
When I use my finetuning model i get this error
Failed to calculate number of tokens, falling back to approximate count Error: Unknown model
i took a look in the code and thegetEncodingNameForModel
function expect the exact model's name, but if we use a simplecontains
it will solve the problem since the openAI models use the base model's name in the finetuned modelscan I implement this fix?
e.g