[fix] fix grok-1 example typo (#5506)

pull/5515/head
Yuanheng Zhao 2024-03-26 10:19:42 +08:00 committed by GitHub
parent 0688d92e2d
commit 131f32a076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ Command example:
./run_inference_slow.sh <MODEL_NAME_OR_PATH>
```
`MODEL_NAME_OR_PATH` can be a model name from Hugging Face model hub or a local path to PyTorch-version model checkpoints. We provided weights on model hub, named `hpcaitech/grok-1`. And you could also download the weights in advance using `git`:
`MODEL_NAME_OR_PATH` can be a model name from Hugging Face model hub or a local path to PyTorch-version model checkpoints. We have provided pytorch-version checkpoint on [HuggingFace model hub](https://huggingface.co/hpcai-tech/grok-1), named `hpcai-tech/grok-1`. And you could also download the weights in advance using `git`:
```bash
git lfs install
git clone https://huggingface.co/hpcai-tech/grok-1

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
PRETRAINED=${1:-"hpcaitech/grok-1"}
PRETRAINED=${1:-"hpcai-tech/grok-1"}
torchrun --standalone --nproc_per_node 8 inference_tp.py --pretrained "$PRETRAINED" \
--max_new_tokens 100 \

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
PRETRAINED=${1:-"hpcaitech/grok-1"}
PRETRAINED=${1:-"hpcai-tech/grok-1"}
python3 inference.py --pretrained "$PRETRAINED" \
--max_new_tokens 100 \