Spaces:
Paused
Paused
Commit
·
d0e445c
1
Parent(s):
3462380
Add postBuild hook and ignore local checkpoint folder
Browse files
postBuild
CHANGED
@@ -1,17 +1,2 @@
|
|
1 |
#!/usr/bin/env bash
|
2 |
set -eux # -e: exit on error, -u: error on undefined var, -x: print each command
|
3 |
-
|
4 |
-
echo "🏗️ postBuild starting at $(date)"
|
5 |
-
|
6 |
-
# (Re-install LFS just in case)
|
7 |
-
git lfs install
|
8 |
-
|
9 |
-
# Clone the model repo into a folder named “model”
|
10 |
-
git clone --depth 1 https://huggingface.co/CodCodingCode/llama-3.1-8b-clinical model
|
11 |
-
|
12 |
-
cd model
|
13 |
-
|
14 |
-
echo "🏗️ Running git lfs pull in $(pwd)"
|
15 |
-
git lfs pull
|
16 |
-
|
17 |
-
echo "✅ postBuild finished at $(date)"
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
set -eux # -e: exit on error, -u: error on undefined var, -x: print each command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|