Nayoung Kim commited on
Commit
c99bf82
·
verified ·
1 Parent(s): 4c4307a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +69 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch-lightning
4
+ pretty_name: MOFFlow-2 Pretrained Checkpoints
5
+ ---
6
+
7
+ # MOFFlow-2 Pretrained Checkpoints
8
+
9
+ Pretrained checkpoints and configs for **MOFFlow-2** tasks:
10
+ - Structure prediction (`csp`)
11
+ - Generation (`gen`)
12
+
13
+ Project repo: https://github.com/nayoung10/MOFFlow-2
14
+
15
+ ## Files
16
+
17
+ - `csp/config.yaml`
18
+ - `csp/sp_module_ckpt.tar.gz`
19
+ - `gen/sp_module/config.yaml`
20
+ - `gen/sp_module/sp_module_ckpt.tar.gz`
21
+ - `gen/seq_module_unconditional/config.yaml`
22
+ - `gen/seq_module_unconditional/seq_module_unconditional_ckpt.tar.gz`
23
+ - `gen/seq_module_conditional/config.yaml`
24
+ - `gen/seq_module_conditional/seq_module_conditional_ckpt.tar.gz`
25
+ - `SHA256SUMS`
26
+
27
+ ## Quick Start (download + verify + extract)
28
+
29
+ ```bash
30
+ # Download all files from this model repo
31
+ hf download lkny123/mofflow2-ckpt --repo-type model --local-dir .
32
+
33
+ # Verify integrity
34
+ sha256sum -c SHA256SUMS
35
+ ```
36
+
37
+ Extract checkpoint archives in place:
38
+
39
+ ```bash
40
+ tar -xzf csp/sp_module_ckpt.tar.gz -C csp
41
+ tar -xzf gen/sp_module/sp_module_ckpt.tar.gz -C gen/sp_module
42
+ tar -xzf gen/seq_module_unconditional/seq_module_unconditional_ckpt.tar.gz -C gen/seq_module_unconditional
43
+ tar -xzf gen/seq_module_conditional/seq_module_conditional_ckpt.tar.gz -C gen/seq_module_conditional
44
+ ```
45
+
46
+ ## How to use with MOFFlow-2
47
+
48
+ Important: `config.yaml` must be in the **same directory** as the checkpoint file used in `inference.ckpt_path`.
49
+
50
+ Example:
51
+
52
+ ```bash
53
+ python -m experiments.predict \
54
+ inference.task=csp \
55
+ inference.ckpt_path=<path_to_ckpt_file_inside_csp_dir>
56
+ ```
57
+
58
+ For sequence generation:
59
+
60
+ ```bash
61
+ python -m experiments.predict_seq \
62
+ inference.ckpt_path=<path_to_ckpt_file_inside_gen/seq_module_unconditional_or_conditional>
63
+ ```
64
+
65
+ ## Notes
66
+
67
+ - Checkpoint files are PyTorch Lightning `.ckpt`.
68
+ - Archive members may include epoch/step in filename.
69
+ - Use the extracted checkpoint path directly in `inference.ckpt_path`.