patrickvonplaten commited on
Commit
3648309
·
verified ·
1 Parent(s): 650045d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -3
README.md CHANGED
@@ -1,3 +1,49 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # Model Card for Mamba-Codestral-7B-v0.1
6
+
7
+ <Fill-me for Mamba-Codestral>
8
+
9
+ ## Installation
10
+
11
+ It is recommended to use `mistralai/mamba-codestral-7B-v0.1` with [mistral-inference](https://github.com/mistralai/mistral-inference)
12
+
13
+
14
+ ```
15
+ pip install mistral_inference mamba-ssm causal-conv1d
16
+ ```
17
+
18
+ or directly with the original [`mamba`](https://github.com/state-spaces/mamba) package:
19
+
20
+ ```
21
+ pip install mamba_ssm causal-conv1d
22
+ ```
23
+
24
+ ## Download
25
+
26
+ ```py
27
+ from huggingface_hub import snapshot_download
28
+ from pathlib import Path
29
+
30
+ mistral_models_path = Path.home().joinpath('mistral_models', 'mamba-codestral-7B-v0.1')
31
+ mistral_models_path.mkdir(parents=True, exist_ok=True)
32
+
33
+ snapshot_download(repo_id="mistralai/mamba-codestral-7B-v0.1", allow_patterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"], local_dir=mistral_models_path)
34
+ ```
35
+
36
+ ### Chat
37
+
38
+ After installing `mistral_inference`, a `mistral-demo` CLI command should be available in your environment.
39
+
40
+ ```
41
+ mistral-chat $HOME/mistral_models/mamba-codestral-7B-v0.1 --instruct
42
+ ```
43
+
44
+ ...
45
+
46
+
47
+ ## The Mistral AI Team
48
+
49
+ 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