Closed matheus-prandini closed 3 months ago
Goal
Fixed incorrect import in the example tokenizer notebook (it also needs to be adjusted in the Mistral documentation here: https://docs.mistral.ai/guides/tokenization/).
Before correction: from mistral_common.tokens.instruct.normalize import ChatCompletionRequest
from mistral_common.tokens.instruct.normalize import ChatCompletionRequest
After correction: from mistral_common.protocol.instruct.request import ChatCompletionRequest
from mistral_common.protocol.instruct.request import ChatCompletionRequest
Goal
Fixed incorrect import in the example tokenizer notebook (it also needs to be adjusted in the Mistral documentation here: https://docs.mistral.ai/guides/tokenization/).
Before correction:
from mistral_common.tokens.instruct.normalize import ChatCompletionRequest
After correction:
from mistral_common.protocol.instruct.request import ChatCompletionRequest