Skip to content

Commit

Permalink
Update version to v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bam4d committed Jan 29, 2024
1 parent 565abe0 commit 90d518e
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,6 @@ dist

# docusaurus build
build/

# CI things
changes.diff
7 changes: 4 additions & 3 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Mistral AI currently provides two types of access to Large Language Models:
## 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](https://console.mistral.ai/) to join the waitlist. Once your subscription is active, you can immediately use our `chat` endpoint:

Our API is currently available through our [platform](https://console.mistral.ai/). You need to subscribe and enter your payment details to enable your API keys. After a few moments, you will be able to use our `chat` endpoint:

```bash
curl --location "https://api.mistral.ai/v1/chat/completions" \
Expand All @@ -38,9 +39,9 @@ curl --location "https://api.mistral.ai/v1/embeddings" \
}'
```

For a full description of the models offered on the API, head on to the **[model docs](./models)**.
For a full description of the models offered on the API, head on to the **[model documentation](./models)**.

For more examples on how to use our platform, head on to our **[platform docs](./platform/01-overview.md)**.
For more examples on how to use our platform, head on to our **[platform documentation](./platform/01-overview.md)**.

### Raw model weights

Expand Down
6 changes: 3 additions & 3 deletions docs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Mixtral 8X7B is a sparse mixture of experts model. As such, it leverages up to 4

## Downloading

- Mistral-7B-v0.1: [Hugging Face](https://huggingface.co/mistralai/Mistral-7B-v0.1) // [raw_weights](https://files.mistral-7b-v0-1.mistral.ai/mistral-7B-v0.1.tar) (md5sum: `37dab53973db2d56b2da0a033a15307f`).
- Mistral-7B-Instruct-v0.2: [Hugging Face](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) // [raw_weights](https://files.mistral-7b-v0-2.mistral.ai/Mistral-7B-v0.2-Instruct.tar) (md5sum: `fbae55bc038f12f010b4251326e73d39`).
- Mistral-7B-v0.1: [Hugging Face](https://huggingface.co/mistralai/Mistral-7B-v0.1) // [raw_weights](https://models.mistralcdn.com/mistral-7b-v0-1/mistral-7B-v0.1.tar) (md5sum: `37dab53973db2d56b2da0a033a15307f`).
- Mistral-7B-Instruct-v0.2: [Hugging Face](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) // [raw_weights](https://models.mistralcdn.com/mistral-7b-v0-2/Mistral-7B-v0.2-Instruct.tar) (md5sum: `fbae55bc038f12f010b4251326e73d39`).
- Mixtral-8x7B-v0.1: [Hugging Face](https://huggingface.co/mistralai/Mixtral-8x7B-v0.1).
- Mixtral-8x7B-Instruct-v0.1: [Hugging Face](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) // [raw_weights](https://files.mixtral-8x7b-v0-1.mistral.ai/Mixtral-8x7B-v0.1-Instruct.tar) (md5sum: `8e2d3930145dc43d3084396f49d38a3f`).
- Mixtral-8x7B-Instruct-v0.1: [Hugging Face](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) // [raw_weights](https://models.mistralcdn.com/mixtral-8x7b-v0-1/Mixtral-8x7B-v0.1-Instruct.tar) (md5sum: `8e2d3930145dc43d3084396f49d38a3f`).

## Sizes

Expand Down
54 changes: 51 additions & 3 deletions docs/platform/03-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,57 @@ We provide different endpoints with different price/performance tradeoffs. Our e
All our generative endpoints can reason on contexts up to 32k tokens and follow fine-grained instructions.
The following table gathers benchmarks for each endpoint.

<!-- <div style="text-align: center;"> -->
<img src={Benchmark} alt="Benchmark" width="500px" class="center"/>
<!-- </div> -->

<table>
<tr>
<th></th>
<th>Mistral-tiny</th>
<th>Mistral-small</th>
<th>Mistral-medium</th>
</tr>
<tr>
<td><b>MMLU</b> <br/>(MCQ in 57 subjects)</td>
<td>63.0%</td>
<td>70.6%</td>
<td><b>75.3%</b></td>
</tr>
<tr>
<td><b>HellaSwag</b> <br/> (10-shot)</td>
<td>83.1%</td>
<td>86.7%</td>
<td><b>88.0%</b></td>
</tr>
<tr>
<td><b>ARC Challenge</b> <br/> (25-shot)</td>
<td>78.1%</td>
<td>85.8%</td>
<td><b>89.9%</b></td>
</tr>
<tr>
<td><b>WinoGrande</b> <br/> (5-shot)</td>
<td>78.0%</td>
<td>81.2%</td>
<td><b>88.0%</b></td>
</tr>
<tr>
<td><b>MBPP</b> <br/> (pass@1)</td>
<td>30.5%</td>
<td>60.7%</td>
<td><b>62.3%</b></td>
</tr>
<tr>
<td><b>GSM-8K</b> <br/> (5-shot)</td>
<td>36.5%</td>
<td>58.4%</td>
<td><b>66.7%</b></td>
</tr>
<tr>
<td><b>MT Bench</b> <br/> (for Instruct models)</td>
<td>7.61</td>
<td>8.30</td>
<td><b>8.61</b></td>
</tr>
</table>

We only provide chat access through our API. Users can access underlying base models for endpoints relying on
[open-weight models](../../models).
Expand Down
10 changes: 10 additions & 0 deletions docs/platform/06-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

This is the list of changes to the Mistral API.

Jan. 11, 2024
- We have enhanced the API's strictness. Previously the API would silently ignores unsupported parameters in the requests, but it now strictly enforces the validity of all parameters. If you have unsupported parameters in your request, you will see the error message "Extra inputs are not permitted".
- A previous version of the [guardrailing documentation](../guardrailing) incorrectly referred to the API parameter as `safe_mode` instead of `safe_prompt`. We corrected this in the documentation.

Jan. 16, 2024
- We added token usage information in streaming requests. You can find it in the last chunk returned.
5 changes: 5 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ const config = {
label: "GitHub",
position: "right",
},
{
href: "https://discord.gg/mistralai",
label: "Discord",
position: "right",
},
],
},
footer: {
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.0.2

0 comments on commit 90d518e

Please sign in to comment.