Interactive CLI for Uni-Mol molecular property prediction training and inference workflows.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-cli-anything-unimol-tools-3067f4d23081 ,按照其中的说明把「cli-anything-unimol-tools」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Package: cli-anything-unimol-tools
Command: python3 -m cli_anything.unimol_tools
Interactive CLI for training and inference of molecular property prediction models using Uni-Mol Tools. Supports 5 task types: binary classification, regression, multiclass, multilabel classification, and multilabel regression.
--json flag# Create a new project
project create --name drug_discovery
# List all projects
project list
# Switch to a project
project switch --name drug_discovery
# Train a classification model
train --data-path train.csv --target-col active --task-type classification --epochs 10
# Train a regression model
train --data-path train.csv --target-col affinity --task-type regression --epochs 10
# List all trained models
models list
# Show model details and performance
models show --model-id <id>
# Rank models by performance
models rank
# Analyze storage usage
storage analyze
# Automatic cleanup of poor performers
cleanup auto
# Manual cleanup with criteria
cleanup manual --max-models 10 --min-score 0.7
# Make predictions with a trained model
predict --model-id <id> --data-path test.csv
CSV files must contain:
SMILES column: Molecular structures in SMILES format--target-col)Example:
SMILES,target
CCO,1
CCCO,0
CC(C)O,1
Add --json flag to any command for machine-readable output:
python3 -m cli_anything.unimol_tools --json models list
Output format:
{
"status": "success",
"data": [...],
"message": "..."
}
Launch without commands for interactive REPL:
python3 -m cli_anything.unimol_tools
Features:
Example datasets available at: https://github.com/545487677/CLI-Anything-unimol-tools/tree/main/unimol_tools/examples
Includes data for all 5 task types.
cd unimol_tools/agent-harness
pip install -e .
cd docs/test
bash run_tests.sh --unit -v # Unit tests (67 tests)
bash run_tests.sh --full -v # Full test suite
storage analyzemodels rank to identify best performerscleanup autocleanup auto to free space