Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction | Mistral AI Large Language Models #311

Open
1 task
irthomasthomas opened this issue Jan 8, 2024 · 0 comments
Open
1 task

Introduction | Mistral AI Large Language Models #311

irthomasthomas opened this issue Jan 8, 2024 · 0 comments
Labels
base-model llm base models not finetuned for chat finetuning Tools for finetuning of LLMs e.g. SFT or RLHF github gh tools like cli, Actions, Issues, Pages llm Large Language Models ml-inference Running and serving ML models. Models LLM and ML model repos and links openai OpenAI APIs, LLMs, Recipes and Evals Research personal research notes for a topic

Comments

@irthomasthomas
Copy link
Owner

Mistral AI currently provides two types of access to Large Language Models:

An API providing pay-as-you-go access to our latest models,
Open source models available under the Apache 2.0 License, available on Hugging Face or directly from the documentation.
Where to start?

API Access

Our API is currently in beta to ramp up the load and provide good quality of service. Access the platform to join the waitlist. Once your subscription is active, you can immediately use our chat endpoint:

curl --location "https://api.mistral.ai/v1/chat/completions"
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header "Authorization: Bearer $MISTRAL_API_KEY"
--data '{
"model": "mistral-tiny",
"messages": [{"role": "user", "content": "Who is the most renowned French painter?"}]
}'

Or our embeddings endpoint:

curl --location "https://api.mistral.ai/v1/embeddings"
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header "Authorization: Bearer $MISTRAL_API_KEY"
--data '{
"model": "mistral-embed",
"input": ["Embed this sentence.", "As well as this one."]
}'

For a full description of the models offered on the API, head on to the model docs.

For more examples on how to use our platform, head on to our platform docs.

Raw model weights

Raw model weights can be used in several ways:

For self-deployment, on cloud or on premise, using either TensorRT-LLM or vLLM, head on to Deployment
For research, head-on to our reference implementation repository,
For local deployment on consumer grade hardware, check out the llama.cpp project or Ollama.
Get Help

Join our Discord community to discuss our models and talk to our engineers. Alternatively, reach out to our business team if you have enterprise needs, want more information about our products or if there are missing features you would like us to add.

Contributing

Mistral AI is committed to open source software development and welcomes external contributions. Please open a PR!

Suggested labels

{ "key": "llm-api", "value": "Accessing Large Language Models through the Mistral AI API" }

@irthomasthomas irthomasthomas added github gh tools like cli, Actions, Issues, Pages llm Large Language Models finetuning Tools for finetuning of LLMs e.g. SFT or RLHF Research personal research notes for a topic openai OpenAI APIs, LLMs, Recipes and Evals New-Label Choose this option if the existing labels are insufficient to describe the content accurately ml-inference Running and serving ML models. Models LLM and ML model repos and links base-model llm base models not finetuned for chat and removed New-Label Choose this option if the existing labels are insufficient to describe the content accurately labels Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base-model llm base models not finetuned for chat finetuning Tools for finetuning of LLMs e.g. SFT or RLHF github gh tools like cli, Actions, Issues, Pages llm Large Language Models ml-inference Running and serving ML models. Models LLM and ML model repos and links openai OpenAI APIs, LLMs, Recipes and Evals Research personal research notes for a topic
Projects
None yet
Development

No branches or pull requests

1 participant