Xin-Rui commited on
Commit
7e502df
·
verified ·
1 Parent(s): bf703f7

Upload RESTORE.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. RESTORE.md +43 -0
RESTORE.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HiReT / Clinical-Reasoning backup — restore instructions
2
+
3
+ ## What this is
4
+ One AES-256 encrypted 7z archive, split into 8 volumes (40 GB each):
5
+
6
+ hitraj_backup_20260929.7z.001 ... .008
7
+
8
+ Archive totals: 444,062 files, 7,249 folders, 325.6 GB uncompressed.
9
+ Everything was packed relative to `/root`, so extracting inside `/root`
10
+ restores the original absolute paths:
11
+
12
+ /root/autodl-tmp/Clinical_Reasoning/... (code, experiments, caches, Datasets, HF_Data)
13
+ /root/autodl-tmp/ClinicalReasoning-ICLR/... (ICLR paper source and figures)
14
+ /root/autodl-tmp/backup_meta/... (env exports, system info)
15
+
16
+ ## Restore
17
+ 1. Download ALL eight volumes plus this file and the checksum file into one folder.
18
+ 2. Verify volume integrity:
19
+
20
+ sha256sum -c hitraj_backup_20260929.7z.volumes.sha256
21
+
22
+ 3. Extract (one command, all volumes are read automatically):
23
+
24
+ cd /root && 7z x /path/to/hitraj_backup_20260929.7z.001
25
+
26
+ The passphrase is required. It is kept offline; it is NOT in this archive.
27
+
28
+ 4. Rebuild the Python environment (do not copy the old conda dir):
29
+
30
+ /root/miniconda3/bin/conda env create -f /root/autodl-tmp/backup_meta/env_llama-fac-wxr.yml
31
+ # or: pip install -r /root/autodl-tmp/backup_meta/pip_freeze.txt
32
+
33
+ ## Things that were NOT included (rebuildable or junk)
34
+ - install_tmp/ and pip_cache/ (figure tooling and pip cache, 7.6 GB)
35
+ - __pycache__, *.lock, vscode-*.sock, torchinductor_root, .ipynb_checkpoints
36
+ - /root/miniconda3 itself (rebuild from env_llama-fac-wxr.yml)
37
+
38
+ ## Notes
39
+ - The 6-class and LOS embedding caches ARE included (they take roughly 12-20 h of GPU
40
+ time to rebuild). Cache fingerprints live under each cache directory manifest.json.
41
+ - Patient-level data (Datasets, per-sample predictions, caches) is MIMIC-IV derived:
42
+ keep the repository access restricted even though the archive is encrypted.
43
+ - Historical configs use absolute paths; keep the /root/autodl-tmp layout.