Instructions to use agentic-ptb/grok-record with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Grok
How to use agentic-ptb/grok-record with Grok:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download harness/scripts/launch_sft.sh from agentic-ptb/grok-record: direct link, hf CLI and curl.
- Browser
- Download file 765 Bytes
-
https://huggingface.co/agentic-ptb/grok-record/resolve/main/harness/scripts/launch_sft.sh
- Command line
-
hf download hf://agentic-ptb/grok-record/harness/scripts/launch_sft.sh
-
curl -L -o launch_sft.sh https://huggingface.co/agentic-ptb/grok-record/resolve/main/harness/scripts/launch_sft.sh
765 Bytes
| # Launch prime-rl SFT. Usage: launch_sft.sh [output-dir] [extra sft args...] | |
| set -euo pipefail | |
| export PATH="/var/lib/agentptb-cache/tb1/prime-rl/.venv/bin:$PATH" | |
| export TMPDIR=/var/lib/agentptb-cache/tb1/tmp | |
| export TRITON_CACHE_DIR=/var/lib/agentptb-cache/tb1/tmp/triton | |
| export TORCHINDUCTOR_CACHE_DIR=/var/lib/agentptb-cache/tb1/tmp/torchinductor | |
| export VLLM_CACHE_ROOT=/var/lib/agentptb-cache/tb1/tmp/vllm | |
| export HF_HUB_OFFLINE="${HF_HUB_OFFLINE:-1}" | |
| export TOKENIZERS_PARALLELISM=false | |
| WS="${AGENTPTB_WORKSPACE:-/mnt/pvc/users/simon/agentptb/runs/grok/workspace}" | |
| OUT="${1:-$WS/outputs/sft-v1}" | |
| shift || true | |
| mkdir -p "$OUT" "$WS/logs" | |
| cd /var/lib/agentptb-cache/tb1/prime-rl | |
| exec sft @ "$WS/configs/sft.toml" --output-dir "$OUT" --ckpt "$@" | |