Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,26 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
# Grok-1
|
| 5 |
|
| 6 |
-
This repository contains the weights of the Grok-1 open-weights model.
|
| 7 |
|
| 8 |
-
Make sure to download the `int8` checkpoint to the `checkpoints` directory
|
| 9 |
|
| 10 |
```shell
|
| 11 |
-
|
| 12 |
-
python transformer.py
|
| 13 |
```
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
You should be seeing output from the language model.
|
| 18 |
|
| 19 |
Due to the large size of the model (314B parameters), a multi-GPU machine is required to test the model with the example code.
|
| 20 |
|
| 21 |
-
p.s. we're hiring: https://x.ai/
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
library_name: grok-1
|
| 5 |
---
|
| 6 |
# 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 |
+
Make sure to download the `int8` checkpoint to the `checkpoints` directory.
|
| 11 |
|
| 12 |
```shell
|
| 13 |
+
huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt/tensor* --local-dir checkpoints/ckpt-0 --local-dir-use-symlinks False
|
|
|
|
| 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.
|
| 23 |
|
| 24 |
Due to the large size of the model (314B parameters), a multi-GPU machine is required to test the model with the example code.
|
| 25 |
|
| 26 |
+
p.s. we're hiring: https://x.ai/career
|