medical-test / postBuild
CodCodingCode's picture
Add postBuild hook and ignore local checkpoint folder
3462380
raw
history blame
453 Bytes
#!/usr/bin/env bash
set -eux # -e: exit on error, -u: error on undefined var, -x: print each command
echo "🏗️ postBuild starting at $(date)"
# (Re-install LFS just in case)
git lfs install
# Clone the model repo into a folder named “model”
git clone --depth 1 https://huggingface.co/CodCodingCode/llama-3.1-8b-clinical model
cd model
echo "🏗️ Running git lfs pull in $(pwd)"
git lfs pull
echo "✅ postBuild finished at $(date)"