mrzz commited on
Commit
4b2384f
·
verified ·
1 Parent(s): 9ba63c4

Add release configuration and document download statistics

Browse files
Files changed (2) hide show
  1. README.md +8 -0
  2. config.json +135 -0
README.md CHANGED
@@ -10,6 +10,7 @@ The released inference bundle is available in [weights/](https://huggingface.co/
10
 
11
  | File | Purpose |
12
  |---|---|
 
13
  | `weights/la_ribo_base.pt` | Base flow model, exported EMA weights |
14
  | `weights/la_ribo_tri.pt` | Tri flow model, exported EMA weights |
15
  | `weights/la_ribo_vae.pt` | Shared autoencoder weights |
@@ -24,6 +25,7 @@ Run this from the local [La-Ribo inference repository](https://github.com/GENTEL
24
 
25
  ```bash
26
  uvx --from huggingface_hub hf download GENTEL-Lab/La-Ribo \
 
27
  weights/la_ribo_base.pt \
28
  weights/la_ribo_tri.pt \
29
  weights/la_ribo_vae.pt \
@@ -34,6 +36,12 @@ uvx --from huggingface_hub hf download GENTEL-Lab/La-Ribo \
34
 
35
  Both variants use the shared autoencoder and both statistics files. Choose `config/la-ribo-base.yaml` with `la_ribo_base.pt`, or `config/la-ribo-tri.yaml` with `la_ribo_tri.pt`. Installation and CPU/CUDA inference commands are in the [GitHub README](https://github.com/GENTEL-lab/La-Ribo#readme). The default sampling protocol uses 200 steps and scaffold/latent powers 1.25/2.0.
36
 
 
 
 
 
 
 
37
  The data below are optional for inference.
38
 
39
  ## Data
 
10
 
11
  | File | Purpose |
12
  |---|---|
13
+ | `config.json` | Release configuration and model-bundle file map |
14
  | `weights/la_ribo_base.pt` | Base flow model, exported EMA weights |
15
  | `weights/la_ribo_tri.pt` | Tri flow model, exported EMA weights |
16
  | `weights/la_ribo_vae.pt` | Shared autoencoder weights |
 
25
 
26
  ```bash
27
  uvx --from huggingface_hub hf download GENTEL-Lab/La-Ribo \
28
+ config.json \
29
  weights/la_ribo_base.pt \
30
  weights/la_ribo_tri.pt \
31
  weights/la_ribo_vae.pt \
 
36
 
37
  Both variants use the shared autoencoder and both statistics files. Choose `config/la-ribo-base.yaml` with `la_ribo_base.pt`, or `config/la-ribo-tri.yaml` with `la_ribo_tri.pt`. Installation and CPU/CUDA inference commands are in the [GitHub README](https://github.com/GENTEL-lab/La-Ribo#readme). The default sampling protocol uses 200 steps and scaffold/latent powers 1.25/2.0.
38
 
39
+ `config.json` describes the released variants, weight files, architecture dimensions, and default sampling settings. It contains public inference configuration only.
40
+
41
+ ### Download statistics
42
+
43
+ Hugging Face uses access to the root `config.json` as the default download-counting signal for this model repository. The command above includes that file. Direct downloads of only `.pt` files or files under `data/` do not trigger this default model counter. HF counts matching GET/HEAD requests server-side; the displayed value is not a count of unique users or guaranteed completed weight transfers. See the [official counting rules](https://huggingface.co/docs/hub/models-download-stats).
44
+
45
  The data below are optional for inference.
46
 
47
  ## Data
config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "la-ribo-inference-bundle",
3
+ "format_version": 1,
4
+ "code_repository": "https://github.com/GENTEL-lab/La-Ribo",
5
+ "paper": "https://arxiv.org/abs/2610.12236",
6
+ "checkpoint_format": "pytorch_state_dict",
7
+ "variants": {
8
+ "base": {
9
+ "checkpoint": "weights/la_ribo_base.pt",
10
+ "weights": "ema",
11
+ "inference_config": "config/la-ribo-base.yaml",
12
+ "flow_model": {
13
+ "latent_dim": 16,
14
+ "explicit_backbone_mode": "p_c4prime_n",
15
+ "coarse_dim": 9,
16
+ "relpos_dim": 64,
17
+ "dist_num_bins": 16,
18
+ "dist_min": 0.0,
19
+ "dist_max": 32.0,
20
+ "time_emb_dim": 64,
21
+ "token_dim": 512,
22
+ "pair_dim": 256,
23
+ "cond_dim": 128,
24
+ "num_layers": 12,
25
+ "num_heads": 8,
26
+ "use_qkln": true,
27
+ "transition_expansion": 4,
28
+ "pair_update": {
29
+ "enabled": false
30
+ }
31
+ },
32
+ "autoencoder": {
33
+ "num_nt_types": 4,
34
+ "num_torsions": 10,
35
+ "latent_dim": 16,
36
+ "explicit_backbone": {
37
+ "mode": "p_c4prime_n",
38
+ "zero_center": true
39
+ },
40
+ "decoder_conf": {
41
+ "relpos_dim": 64,
42
+ "dist_num_bins": 16,
43
+ "dist_min": 0.0,
44
+ "dist_max": 32.0,
45
+ "token_dim": 256,
46
+ "pair_dim": 128,
47
+ "cond_dim": 64,
48
+ "num_layers": 6,
49
+ "num_heads": 8,
50
+ "use_qkln": true
51
+ }
52
+ }
53
+ },
54
+ "tri": {
55
+ "checkpoint": "weights/la_ribo_tri.pt",
56
+ "weights": "ema",
57
+ "inference_config": "config/la-ribo-tri.yaml",
58
+ "flow_model": {
59
+ "latent_dim": 16,
60
+ "explicit_backbone_mode": "p_c4prime_n",
61
+ "coarse_dim": 9,
62
+ "relpos_dim": 64,
63
+ "dist_num_bins": 16,
64
+ "dist_min": 0.0,
65
+ "dist_max": 32.0,
66
+ "time_emb_dim": 64,
67
+ "token_dim": 512,
68
+ "pair_dim": 256,
69
+ "cond_dim": 128,
70
+ "num_layers": 12,
71
+ "num_heads": 8,
72
+ "use_qkln": true,
73
+ "transition_expansion": 4,
74
+ "pair_update": {
75
+ "enabled": true,
76
+ "every": 2,
77
+ "use_cuequivariance": true,
78
+ "expansion": 2,
79
+ "token_to_pair": "add"
80
+ }
81
+ },
82
+ "autoencoder": {
83
+ "num_nt_types": 4,
84
+ "num_torsions": 10,
85
+ "latent_dim": 16,
86
+ "explicit_backbone": {
87
+ "mode": "p_c4prime_n",
88
+ "zero_center": true
89
+ },
90
+ "decoder_conf": {
91
+ "relpos_dim": 64,
92
+ "dist_num_bins": 16,
93
+ "dist_min": 0.0,
94
+ "dist_max": 32.0,
95
+ "token_dim": 256,
96
+ "pair_dim": 128,
97
+ "cond_dim": 64,
98
+ "num_layers": 6,
99
+ "num_heads": 8,
100
+ "use_qkln": true
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "shared_files": {
106
+ "autoencoder": "weights/la_ribo_vae.pt",
107
+ "latent_stats": "weights/latent_stats.pt",
108
+ "coarse_stats": "weights/coarse_stats.pt"
109
+ },
110
+ "sampling": {
111
+ "solver": "forward_euler",
112
+ "num_timesteps": 200,
113
+ "scaffold_power": 1.25,
114
+ "latent_power": 2.0,
115
+ "self_condition": true
116
+ },
117
+ "supported_devices": [
118
+ "cpu",
119
+ "cuda"
120
+ ],
121
+ "benchmark_lengths": [
122
+ 40,
123
+ 50,
124
+ 60,
125
+ 70,
126
+ 80,
127
+ 90,
128
+ 100,
129
+ 110,
130
+ 120,
131
+ 130,
132
+ 140,
133
+ 150
134
+ ]
135
+ }