Mistral is betting on open-weight AI models to help it compete with players like OpenAI and Anthropic.