Make instructions more clear.
Browse files
README.md
CHANGED
|
@@ -7,16 +7,21 @@ library_name: grok-1
|
|
| 7 |
|
| 8 |
This repository contains the weights of the Grok-1 open-weights model. You can find the code in the [GitHub Repository](https://github.com/xai-org/grok-1/tree/main).
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
```shell
|
| 13 |
-
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt
|
| 14 |
```
|
| 15 |
|
| 16 |
Then, you can run:
|
| 17 |
|
| 18 |
```shell
|
| 19 |
pip install -r requirements.txt
|
|
|
|
| 20 |
```
|
| 21 |
|
| 22 |
You should be seeing output from the language model.
|
|
|
|
| 7 |
|
| 8 |
This repository contains the weights of the Grok-1 open-weights model. You can find the code in the [GitHub Repository](https://github.com/xai-org/grok-1/tree/main).
|
| 9 |
|
| 10 |
+
```shell
|
| 11 |
+
git clone https://github.com/xai-org/grok-1.git && cd grok-1
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
Then, make sure to download the `int8` checkpoint to the `checkpoints` directory:
|
| 15 |
|
| 16 |
```shell
|
| 17 |
+
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False
|
| 18 |
```
|
| 19 |
|
| 20 |
Then, you can run:
|
| 21 |
|
| 22 |
```shell
|
| 23 |
pip install -r requirements.txt
|
| 24 |
+
python run.py
|
| 25 |
```
|
| 26 |
|
| 27 |
You should be seeing output from the language model.
|