SSamson commited on
Commit
81dc097
·
verified ·
1 Parent(s): 36e09ec

Create Hornet.py

Browse files
Files changed (1) hide show
  1. Hornet.py +32 -0
Hornet.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: afl-3.0
3
+ pipeline_tag: text-generation
4
+ library_name: Hornet
5
+ tags:
6
+ - Alasu-1
7
+ ---
8
+ # Alasu1
9
+
10
+ This repository contains the weights of the Alasu1-1 open-weights model. You can find the code in the [GitHub Repository](https://github.com/xai-org/grok-1/tree/main).
11
+
12
+ # Download instruction
13
+ Clone the repo & download the `int8` checkpoint to the `checkpoints` directory by executing this command in the repo root directory:
14
+
15
+ ```shell
16
+ git clone https://github.com/xai-org/grok-1.git && cd grok-1
17
+ pip install huggingface_hub[hf_transfer]
18
+ huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt-0/* --local-dir checkpoints --local-dir-use-symlinks False
19
+ ```
20
+
21
+ Then, you can run:
22
+
23
+ ```shell
24
+ pip install -r requirements.txt
25
+ python run.py
26
+ ```
27
+
28
+ You should be seeing output from the language model.
29
+
30
+ Due to the large size of the model (314B parameters), a multi-GPU machine is required to test the model with the example code.
31
+
32
+ p.s. we're hiring: https://x.ai/careers