Creeperbbs commited on
Commit
7670fa4
·
verified ·
1 Parent(s): 76810db

Remove legacy scripts artifacts

Browse files
scripts/README.md DELETED
@@ -1,5 +0,0 @@
1
- # RMMol reproduction scripts
2
-
3
- `run_rmmol_release_example.py` is a minimal RMMol-only reproduction scaffold. It uses the standardized dataset names in this bundle and the selected frozen-embedding heads recorded in `evaluation/selected_probe_presets.json`.
4
-
5
- The full cross-model verification was run locally before packaging. Baseline model weights and embeddings are not included in this Hugging Face bundle.
 
 
 
 
 
 
scripts/run_rmmol_release_example.py DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env python
2
- """RMMol-only release reproduction example.
3
-
4
- This script is intentionally RMMol-only. It documents the exact dataset names
5
- and downstream probe settings used in the packaged rank-1 release. To execute it
6
- end-to-end, run it from an environment where the RMMol true-loader module is
7
- available and set RMMOL_CKPT to the downloaded checkpoint.
8
- """
9
-
10
- from __future__ import annotations
11
-
12
- import json
13
- import os
14
- from pathlib import Path
15
-
16
-
17
- RELEASE_DIR = Path(os.environ.get("RMMOL_RELEASE_DIR", Path(__file__).resolve().parents[1]))
18
- RMMOL_CKPT = os.environ.get("RMMOL_CKPT", "<download from https://huggingface.co/Creeperbbs/RMMol>")
19
-
20
- TASKS = {
21
- "biophysics/bbbp/bbbp.csv": "StandardScaler + RidgeClassifier(alpha=1.0, class_weight=None, solver='lsqr'); 5-fold KFold(random_state=42).",
22
- "biophysics/hiv_pan/hiv_pan_{train,val,test}.csv": "Normalizer + RidgeClassifier(alpha=1.6788e-05, class_weight='balanced', solver='lsqr'); train+val -> test.",
23
- "physiological/bace/bace_{train,val,test}.csv": "ExtraTrees selected on RMMol and applied unchanged across models.",
24
- "physiological/clintox/clintox_{train,val,test}.csv": "RidgeClassifier selected on RMMol and applied unchanged across models.",
25
- "physiological/tox21/*.csv": "One RMMol-selected RidgeClassifier preset per Tox21 label.",
26
- "physiological/sider/*.csv": "One RMMol-selected RidgeClassifier preset per SIDER label.",
27
- "physical_chemistry/esol/esol_{train,val,test}.csv": "Ridge(alpha=0.003), RMSE.",
28
- "physical_chemistry/freesolv/freesolv_{train,val,test}.csv": "Ridge(alpha=0.003), RMSE.",
29
- "physical_chemistry/lipo/lipo_{train,val,test}.csv": "Ridge(alpha=0.001), RMSE.",
30
- "quantum_mechanics/qm9/qm9_{train,val,test}.csv": "StandardScaler + Ridge(alpha=0.01), MAE over 12 QM9 targets.",
31
- }
32
-
33
-
34
- def main() -> None:
35
- manifest = RELEASE_DIR / "MANIFEST.csv"
36
- presets = RELEASE_DIR / "evaluation" / "selected_probe_presets.json"
37
- print(f"release_dir: {RELEASE_DIR}")
38
- print(f"manifest : {manifest}")
39
- print(f"presets : {presets}")
40
- print(f"rmmol_ckpt : {RMMOL_CKPT}")
41
- print("\nPackaged task settings:")
42
- print(json.dumps(TASKS, indent=2))
43
- print("\nExpected RMMol domain performance is recorded in evaluation/release_verify_domain_summary.csv.")
44
- print("Baseline model artifacts are intentionally not part of this RMMol example bundle.")
45
-
46
-
47
- if __name__ == "__main__":
48
- main()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
scripts/upload_to_huggingface.sh DELETED
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- REPO_ID="${1:-Creeperbbs/RMMol}"
5
- REPO_TYPE="${2:-model}"
6
- PACKAGE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- ARCHIVE="${PACKAGE_DIR}.tar.gz"
8
-
9
- hf auth whoami
10
- hf repo create "${REPO_ID}" --type "${REPO_TYPE}" --exist-ok
11
-
12
- hf upload "${REPO_ID}" "${PACKAGE_DIR}" . \
13
- --repo-type "${REPO_TYPE}" \
14
- --commit-message "Add RMMol rank-1 benchmark dataset v1.1"
15
-
16
- if [[ -f "${ARCHIVE}" ]]; then
17
- hf upload "${REPO_ID}" "${ARCHIVE}" "$(basename "${ARCHIVE}")" \
18
- --repo-type "${REPO_TYPE}" \
19
- --commit-message "Add packaged RMMol rank-1 benchmark archive v1.1"
20
- fi