Commit cf2aa107 authored by root's avatar root
Browse files

change readme.md

parent 7ae3e06b
...@@ -41,7 +41,6 @@ Dockerfile(方式二) ...@@ -41,7 +41,6 @@ Dockerfile(方式二)
docker build -t geneformer:latest . docker build -t geneformer:latest .
docker run -dit --shm-size 80g --network=host --name=geneformer --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /opt/hyhal/:/opt/hyhal/:ro geneformer:latest /bin/bash docker run -dit --shm-size 80g --network=host --name=geneformer --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /opt/hyhal/:/opt/hyhal/:ro geneformer:latest /bin/bash
docker exec -it geneformer /bin/bash docker exec -it geneformer /bin/bash
``` ```
...@@ -78,12 +77,12 @@ sudo apt-get install git-lfs ...@@ -78,12 +77,12 @@ sudo apt-get install git-lfs
``` ```
## 下载数据集 ## 数据集下载
``` ```
#git clone https://hf-mirror.com/datasets/ctheodoris/Genecorpus-30M #git clone https://hf-mirror.com/datasets/ctheodoris/Genecorpus-30M
mkdir -p /path/to/ mkdir -p /path/to/
cd /path/to cd /path/to
git clone https://hf-mirror.com/datasets/ctheodoris/Genecorpus-30M git lfs clone http://113.200.138.88:18080/aimodels/ctheodoris/Geneformer.git
``` ```
## geneformer模型下载 ## geneformer模型下载
...@@ -92,15 +91,13 @@ git clone https://hf-mirror.com/datasets/ctheodoris/Genecorpus-30M ...@@ -92,15 +91,13 @@ git clone https://hf-mirror.com/datasets/ctheodoris/Genecorpus-30M
``` ```
cd /path/to cd /path/to
git clone -b pr146_branch https://hf-mirror.com/ctheodoris/Geneformer git lfs clone -b pr146_branch http://113.200.138.88:18080/aimodels/ctheodoris/Geneformer.git
cd Geneformer cd Geneformer
pip install -e . pip install -e .
``` ```
# 模型训练 # 模型训练
单卡运行 gene classification 单卡运行 gene classification
...@@ -111,8 +108,25 @@ python train_cell.py ...@@ -111,8 +108,25 @@ python train_cell.py
详情可以参考 Geneformer/examples/cell_classification.ipynb 详情可以参考 Geneformer/examples/cell_classification.ipynb
# 参考
# 推理
暂无
# 源码仓库及问题反馈
```
http://developer.sourcefind.cn/codes/modelzoo/geneformer.git
```
# 参考资料
```
https://hf-mirror.com/ctheodoris/Geneformer https://hf-mirror.com/ctheodoris/Geneformer
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment