본문으로 건너뛰기
Skillpedia
머신러닝58k · #3250

cli-anything-unimol-tools

하는 일

이 스킬은 AI 에이전트가 Uni-Mol Tools를 사용해 분자의 성질을 예측하는 머신러닝 모델을 학습하고 활용하도록 합니다. 분자에 관한 연구를 하는 화학자와 데이터 과학자에게 맞습니다.

사용하는 경우

  • ✓내 데이터 파일로 화학 성질을 예측하는 모델을 학습시키고 싶을 때.
  • ✓학습된 여러 모델의 성능을 비교해야 할 때.
  • ✓학습된 모델을 새 분자에 적용하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-unimol-tools/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-unimol-tools/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“분자 파일로 활성을 예측하는 모델을 학습시키고, 어떤 모델이 가장 좋았는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 명령줄에서 프로젝트와 학습 실행을 관리하며, 학습된 모델마다 저장하고 성능을 기록합니다. 결과에 따라 모델 순위를 매길 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Uni-Mol Tools - Molecular Property Prediction CLI

Package: cli-anything-unimol-tools Command: python3 -m cli_anything.unimol_tools

Description

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.

Key Features

  • Project Management: Organize experiments with named projects
  • 5 Task Types: Classification, regression, multiclass, multilabel variants
  • Model Tracking: Automatic performance history and rankings
  • Smart Storage: Analyze usage and clean up underperformers
  • JSON API: Full automation support with --json flag

Common Commands

Project Management

# Create a new project
project create --name drug_discovery

# List all projects
project list

# Switch to a project
project switch --name drug_discovery

Training

# 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

Model Management

# List all trained models
models list

# Show model details and performance
models show --model-id <id>

# Rank models by performance
models rank

Storage & Cleanup

# 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

Prediction

# Make predictions with a trained model
predict --model-id <id> --data-path test.csv

Data Format

CSV files must contain:

  • SMILES column: Molecular structures in SMILES format
  • Target column(s): Values to predict (name specified via --target-col)

Example:

SMILES,target
CCO,1
CCCO,0
CC(C)O,1

Task Types

  1. classification: Binary classification (0/1)
  2. regression: Continuous value prediction
  3. multiclass: Multiple class classification
  4. multilabel_classification: Multiple binary labels
  5. multilabel_regression: Multiple continuous values

JSON Mode

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": "..."
}

Interactive Mode

Launch without commands for interactive REPL:

python3 -m cli_anything.unimol_tools

Features:

  • Tab completion
  • Command history
  • Contextual help
  • Project state persistence

Test Data

Example datasets available at: https://github.com/545487677/CLI-Anything-unimol-tools/tree/main/unimol_tools/examples

Includes data for all 5 task types.

Requirements

  • Python 3.8+
  • PyTorch 1.12+
  • Uni-Mol Tools backend
  • 4GB+ RAM (8GB+ recommended for training)

Installation

cd unimol_tools/agent-harness
pip install -e .

Documentation

Testing

cd docs/test
bash run_tests.sh --unit -v    # Unit tests (67 tests)
bash run_tests.sh --full -v    # Full test suite

Performance Tips

  • Start with 10 epochs for initial experiments
  • Use smaller batch sizes if memory is limited
  • Monitor storage with storage analyze
  • Use models rank to identify best performers
  • Clean up regularly with cleanup auto

Troubleshooting

  • CUDA errors: Reduce batch size or use CPU mode
  • CSV not recognized: Verify SMILES column exists
  • Low accuracy: Try more epochs or adjust learning rate
  • Storage full: Run cleanup auto to free space

Related

자주 묻는 질문

어떤 작업을 지원하나요?

이진 분류, 회귀, 다중 분류, 다중 레이블 등 다섯 가지 작업 유형을 지원합니다.

학습된 모델은 어떻게 관리되나요?

각 모델의 성능 기록을 남기고 순위를 매길 수 있으며, 성능이 낮은 모델을 정리할 수도 있습니다.

데이터에 특별한 형식이 필요한가요?

예시는 CSV 파일을 사용하며, 학습 명령에서 지정한 대상 열이 있어야 합니다.

상세 정보

작성자의 원본 설명

Interactive CLI for Uni-Mol molecular property prediction training and inference workflows.

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3250
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬