Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Model Card for Mathstral-7B-v0.1
|
| 6 |
+
|
| 7 |
+
<Fill-me for Mathstral-7B-v0.1>
|
| 8 |
+
|
| 9 |
+
## Installation
|
| 10 |
+
|
| 11 |
+
It is recommended to use `mistralai/mathstral-7B-v0.1` with [mistral-inference](https://github.com/mistralai/mistral-inference)
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
```
|
| 15 |
+
pip install mistral_inference
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Download
|
| 20 |
+
|
| 21 |
+
```py
|
| 22 |
+
from huggingface_hub import snapshot_download
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
mistral_models_path = Path.home().joinpath('mistral_models', 'mathstral-7B-v0.1')
|
| 26 |
+
mistral_models_path.mkdir(parents=True, exist_ok=True)
|
| 27 |
+
|
| 28 |
+
snapshot_download(repo_id="mistralai/mathstral-7B-v0.1", allow_patterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"], local_dir=mistral_models_path)
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
### Chat
|
| 32 |
+
|
| 33 |
+
After installing `mistral_inference`, a `mistral-demo` CLI command should be available in your environment.
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
mistral-chat $HOME/mistral_models/mathstral-7B-v0.1 --instruct
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
...
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
## The Mistral AI Team
|
| 43 |
+
|
| 44 |
+
Albert Jiang, Alexandre Sablayrolles, Alexis Tacnet, Antoine Roux, Arthur Mensch, Audrey Herblin-Stoop, Baptiste Bout, Baudouin de Monicault, Blanche Savary, Bam4d, Caroline Feldman, Devendra Singh Chaplot, Diego de las Casas, Eleonore Arcelin, Emma Bou Hanna, Etienne Metzger, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Harizo Rajaona, Jean-Malo Delignon, Jia Li, Justus Murke, Louis Martin, Louis Ternon, Lucile Saulnier, Lélio Renard Lavaud, Margaret Jennings, Marie Pellat, Marie Torelli, Marie-Anne Lachaux, Nicolas Schuhl, Patrick von Platen, Pierre Stock, Sandeep Subramanian, Sophia Yang, Szymon Antoniak, Teven Le Scao, Thibaut Lavril, Timothée Lacroix, Théophile Gervet, Thomas Wang, Valera Nemychnikova, William El Sayed, William Marshall
|