lighteternal commited on
Commit
fadab17
·
verified ·
1 Parent(s): a3c58be

Fix Space metadata

Browse files
Files changed (1) hide show
  1. README.md +14 -49
README.md CHANGED
@@ -1,57 +1,22 @@
1
- # AssayLens Agent
 
 
 
 
 
 
 
 
2
 
3
- AssayLens models observed functional pharmacology under assay frames. It is a
4
- lightweight benchmark and prototype next-assay recommender for testing whether
5
- explicit assay-frame features improve activity, potency, quantification,
6
- viability-confounding, and high-frequency artifact prediction.
7
 
8
- The repository is designed so full data profiling, feature extraction, training,
9
- evaluation, and artifact upload run on Hugging Face Jobs. Local execution is for
10
- code editing, tiny smoke tests, and reading compact summaries. Do not download
11
- or store the full EvE raw dataset locally.
12
 
13
- ## Local Smoke
14
 
15
  ```bash
16
- conda env create -f environment.yml
17
- conda activate assaylens
18
- python -m pytest
19
- python scripts/00_check_access.py --no-write
20
- ```
21
-
22
- ## CLI and Demo UI
23
-
24
- ```bash
25
- assaylens audit-artifacts --artifact-repo lighteternal/assaylens-artifacts
26
- assaylens recommend --input examples/tiny_observations.json --artifact-repo lighteternal/assaylens-artifacts
27
  python scripts/11_gradio_demo.py
28
  ```
29
 
30
- The Gradio demo uses compact model artifacts from the HF artifact repo. It does
31
- not require or download raw EvE locally. Optional LLM explanations require
32
- `OPENAI_API_KEY` in the runtime environment and summarize only structured
33
- AssayLens outputs.
34
-
35
- ## Hugging Face Jobs
36
-
37
- ```bash
38
- export HF_NAMESPACE="<username>"
39
- export ARTIFACT_REPO="<username>/assaylens-artifacts"
40
- # Optional; defaults to "$HF_NAMESPACE/assaylens-code-snapshot".
41
- export ASSAYLENS_CODE_REPO="<username>/assaylens-code-snapshot"
42
-
43
- scripts/run_hf_job.sh scripts/00_check_access.py cpu-basic
44
- scripts/run_hf_job.sh scripts/01_profile_eve.py cpu-upgrade
45
- scripts/run_hf_job.sh scripts/02_profile_hugging_science.py cpu-basic
46
- scripts/run_hf_job.sh scripts/03_build_features.py cpu-performance
47
- scripts/run_hf_job.sh scripts/04_make_splits.py cpu-upgrade
48
- scripts/run_hf_job.sh scripts/05_train_baselines.py cpu-performance
49
- scripts/run_hf_job.sh scripts/06_train_assaylens.py a10g-small
50
- scripts/run_hf_job.sh scripts/07_evaluate.py cpu-upgrade
51
- scripts/run_hf_job.sh scripts/08_next_assay_policy.py cpu-upgrade
52
- scripts/run_hf_job.sh scripts/09_make_report.py cpu-basic
53
- ```
54
-
55
- The local shell does not need to expose the token if `hf auth login` is already
56
- configured, but HF Jobs require an account-side `HF_TOKEN` secret for gated
57
- dataset access inside the remote container.
 
1
+ ---
2
+ title: AssayLens Demo
3
+ emoji: 🧪
4
+ colorFrom: green
5
+ colorTo: gray
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---
10
 
11
+ # AssayLens Demo
 
 
 
12
 
13
+ HF Spaces wrapper for the AssayLens Gradio recommender.
 
 
 
14
 
15
+ The container runs:
16
 
17
  ```bash
 
 
 
 
 
 
 
 
 
 
 
18
  python scripts/11_gradio_demo.py
19
  ```
20
 
21
+ Set `OPENAI_API_KEY` as a private Space secret only if optional LLM explanations
22
+ are needed. The app does not ask users to paste an API key.