czty's picture
BioOcto code and data release (snapshot 2026-11-27, sanitized) (part 45)
7fcf0b3 verified
|
Raw History Blame Contribute Delete
1.3 kB
# ReAct Code BioAgent DeepSeek
This project runs `/225040511/project/bioagent-bench` with a LangChain/LangGraph
ReAct agent backed by DeepSeek's OpenAI-compatible API.
## Environment
The runner uses the existing Biomni Python environment:
```bash
/225040511/miniconda3/envs/biomni_e1/bin/python
```
Set one of these keys before running:
```bash
export DEEPSEEK_API_KEY=...
```
Optional overrides:
```bash
export DEEPSEEK_MODEL_NAME=deepseek-chat
export DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
```
## Run
Smoke test one small task:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.runner --task transcript-quant
```
Run the full benchmark:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.runner --all
```
Outputs are written under:
```text
/225040511/project/react_code_bioagent_deepseek/runs
```
## Evaluate
Rule-mode evaluation:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.evaluate --all
```
The evaluation JSON is written to:
```text
/225040511/project/react_code_bioagent_deepseek/results/bioagent_bench_rule_eval.json
```