Commit 0a119d4a authored by dcuai's avatar dcuai
Browse files

Update README.md

parent 6e152dbf
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
## 论文 ## 论文
- [论文地址] [DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning](https://arxiv.org/abs/2310.15205) - [DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning](https://arxiv.org/abs/2310.15205)
## 模型结构 ## 模型结构
...@@ -28,7 +28,7 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu22.04-dt ...@@ -28,7 +28,7 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu22.04-dt
docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro --shm-size=64G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name DISC-FinLLM <your imageID> bash docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro --shm-size=64G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name DISC-FinLLM <your imageID> bash
cd /path/your_code_data/DISC-FinLLM_pytorch cd /path/your_code_data/
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
...@@ -39,11 +39,11 @@ pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-ma ...@@ -39,11 +39,11 @@ pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-ma
### Dockerfile(方法二) ### Dockerfile(方法二)
``` ```
cd /path/your_code_data/DISC-FinLLM_pytorch/docker cd /path/your_code_data/docker
docker build --no-cache -t DISC-FinLLM:latest . docker build --no-cache -t disc-finllm:latest .
docker run --shm-size=64G --name DISC-FinLLM -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video -v /path/your_code_data/:/path/your_code_data/ -it DISC-FinLLM bash docker run --shm-size=64G --name DISC-FinLLM -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video -v /path/your_code_data/:/path/your_code_data/ -it disc-finllm:latest bash
``` ```
### Anaconda(方法三) ### Anaconda(方法三)
...@@ -63,7 +63,7 @@ bitsandbytes: 0.43.0 ...@@ -63,7 +63,7 @@ bitsandbytes: 0.43.0
``` ```
conda create -n DISC-FinLLM python=3.10 conda create -n DISC-FinLLM python=3.10
cd /path/your_code_data/DISC-FinLLM_pytorch cd /path/your_code_data/
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple
...@@ -162,5 +162,5 @@ python cli_demo.py ...@@ -162,5 +162,5 @@ python cli_demo.py
- http://developer.hpccube.com/codes/modelzoo/disc-finllm_pytorch.git - http://developer.hpccube.com/codes/modelzoo/disc-finllm_pytorch.git
## 参考资料 ## 参考资料
- 本项目gitlab地址[Go4miii/DISC-FinLLM](https://github.com/FudanDISC/DISC-FinLLM) - https://github.com/FudanDISC/DISC-FinLLM
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