genomenet/crispr-array-detection
0
crispr-detect
BERT-based CRISPR array detection in prokaryotic genomes.
Model
Deployment
Push changes
cd /vol/hpcprojects/pmuench/crispr_tool/crispr-hf-space
git add -A
git commit -m "description"
git pushGit credentials (first time)
git config --global credential.helper store
huggingface-cli login
# paste token from https://huggingface.co/settings/tokensClone fresh
git clone https://huggingface.co/spaces/genomenet/crispr-array-detectionSpace settings (HuggingFace web UI)
- SDK: Docker
- Hardware: CPU Basic works for the default demo; T4 GPU is recommended for long sequences or low stride values
- Visibility: Public
Model weights
Hosted at: https://huggingface.co/genomenet/crispr-bert-model
Downloaded automatically via huggingface_hub at startup.
Local dev
pip install -r requirements.txt
python app.py
# http://localhost:7860Files
├── app.py # gradio app
├── inference/
│ ├── model_loader.py # model download
│ ├── tokenizer.py # sequence validation
│ └── inference.py # prediction
├── Dockerfile
└── requirements.txtAcknowledgements
- Ziyu Mu (HZI BIFO)
- DFG SPP 2141 (MC 172)
- BMBF GenomeNet
