xai-org/grok-1 已完整同步
Grok-1
This repository contains the weights of the Grok-1 open-weights model. You can find the code in the GitHub Repository.
Download instruction
Clone the repo & download the int8 checkpoint to the checkpoints directory by executing this command in the repo root directory:
git clone https://github.com/xai-org/grok-1.git && cd grok-1
pip install huggingface_hub[hf_transfer]
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:
pip install -r requirements.txt
python run.py
You should be seeing output from the language model.
Due to the large size of the model (314B parameters), a multi-GPU machine is required to test the model with the example code.
p.s. we're hiring: https://x.ai/careers
773 个文件
浏览文件数据集版权信息
本数据集的许可证为 Apache License 2.0。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55 --overwrite
仅包含匹配路径
wehub datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55 --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55 --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_4713_79cdebcb55 --revision 5de83eb225f49624b424f1c8aa74f96983b5885c --output ./ds_ext_4713_79cdebcb55 --jobs 8
完整帮助:wehub datasets download --help