Views
No views yet
| Scenario | Description |
|---|---|
| Protein structure prediction | Takes a FASTA file as input and outputs structures in mmCIF or PDB format. |
| Local offline inference | Stores example inputs and weights in examples/ and weight/, allowing the scripts to run entirely from files in this repository. |
| Training / fine-tuning pipeline validation | Supports training workflow validation after tokenized data have been prepared according to config/data/*.yaml. |
| Hugging Face package layout | Uses the standard config/, models/, scripts/, and weight/ directory structure. |
nvidia-smihy-smi1conda create -n onescience311 python=3.11 -y
2conda activate onescience311
3pip install onescience[bio] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai1source ${ROCM_PATH}/cuda/env.sh
2export LD_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH"
3export LD_LIBRARY_PATH="$CONDA_PREFIX/lib/python3.11/site-packages/fastpt/torch/lib:$LD_LIBRARY_PATH"1hf download OneScience-Group/SimpleFold --local-dir ./SimpleFold
2cd SimpleFoldweights/ directory, including SimpleFold-1B and SimpleFold-100M checkpoints, ESM weights, and other supporting weights.1python scripts/run_inference.py \
2 --simplefold_model simplefold_100M \
3 --fasta_path examples/minimal.fasta \
4 --output_dir outputs/minimal_inference \
5 --num_steps 10 \
6 --tau 0.01 \
7 --nsample_per_protein 1 \
8 --backend torchoutputs/minimal_inference/predictions_simplefold_100M/1datasets/
2datasets/tokenized/
3datasets/manifest.json1python scripts/process_data.py --data_dir /path/to/mmcif --out_dir datasets --num-processes 8
2python scripts/tokenize_data.py --target_dir datasets --token_dir datasets/tokenizedprocess_data.py uses the in-package weight/ccd.pkl by default; no additional CCD download or Redis setup is required. To use the legacy Redis CCD workflow, pass --use-redis explicitly.python scripts/train.pypython scripts/train_fsdp.py experiment=train_fsdppython scripts/train.py load_ckpt_path=weight/simplefold_100M.ckpt| Platform | OneScience Main Repository | Skills Repository |
|---|---|---|
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |