Spaces:
Paused
Paused
Commit
·
3462380
1
Parent(s):
88bb94e
Add postBuild hook and ignore local checkpoint folder
Browse files- .gitignore +1 -0
- postBuild +17 -0
.gitignore
CHANGED
@@ -7,3 +7,4 @@ all_patient_followups.json
|
|
7 |
all_questioning_doctor_outputs.json
|
8 |
all_summarizer_outputs.json
|
9 |
all_treatment_outputs.json
|
|
|
|
7 |
all_questioning_doctor_outputs.json
|
8 |
all_summarizer_outputs.json
|
9 |
all_treatment_outputs.json
|
10 |
+
checkpoint-45000/
|
postBuild
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)"
|