Make instructions more clear.
This commit is contained in:
parent
97d328d975
commit
f20f7395e8
@ -7,16 +7,21 @@ library_name: grok-1
|
|||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
Make sure to download the `int8` checkpoint to the `checkpoints` directory.
|
```shell
|
||||||
|
git clone https://github.com/xai-org/grok-1.git && cd grok-1
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, make sure to download the `int8` checkpoint to the `checkpoints` directory:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt/tensor* --local-dir checkpoints/ckpt-0 --local-dir-use-symlinks False
|
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, you can run:
|
Then, you can run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
python run.py
|
||||||
```
|
```
|
||||||
|
|
||||||
You should be seeing output from the language model.
|
You should be seeing output from the language model.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user