Commit f2ba53bb authored by dcuai's avatar dcuai
Browse files

Update README.md

parent 0d8a7ff5
...@@ -23,7 +23,7 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu22.04-dt ...@@ -23,7 +23,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 fingpt <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 fingpt <your imageID> bash
cd /path/your_code_data/FinGPT 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
...@@ -32,14 +32,12 @@ pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-ma ...@@ -32,14 +32,12 @@ pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-ma
### Dockerfile(方法二) ### Dockerfile(方法二)
``` ```
cd docker cd /path/your_code_data/docker
docker build --no-cache -t fingpt:latest . docker build --no-cache -t fingpt:latest .
docker run --shm-size=64G --name fingpt -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 fingpt bash docker run --shm-size=64G --name fingpt -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 fingpt bash
cd /path/your_code_data/FinGPT
pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-manylinux2014_x86_64.whl pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-manylinux2014_x86_64.whl
``` ```
### Anaconda(方法三) ### Anaconda(方法三)
...@@ -58,15 +56,10 @@ deepspped: 0.12.3 ...@@ -58,15 +56,10 @@ deepspped: 0.12.3
其它非深度学习库参照requirements.txt安装: 其它非深度学习库参照requirements.txt安装:
``` ```
conda create -n fingpt python=3.10 cd fingpt-glm_pytorch
conda activate fingpt
cd /path/your_code_data/FinGPT
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple
pip install deepspeed-0.12.3+gitfe61783.abi0.dtk2310.torch2.1.0a0-cp310-cp310-manylinux2014_x86_64.whl
``` ```
## 数据集 ## 数据集
...@@ -152,7 +145,7 @@ python inference_FinGPT.py ...@@ -152,7 +145,7 @@ python inference_FinGPT.py
- [FinGPT_ChatGLM2-6B预训练模型下载地址](https://www.modelscope.cn/models/Wangluochao/FinGPT_ChatGLM2-6B/files) - [FinGPT_ChatGLM2-6B预训练模型下载地址](https://www.modelscope.cn/models/Wangluochao/FinGPT_ChatGLM2-6B/files)
## 源码仓库及问题反馈 ## 源码仓库及问题反馈
- http://developer.hpccube.com/codes/modelzoo/fingpt.git - https://developer.hpccube.com/codes/modelzoo/fingpt-glm_pytorch
## 参考资料 ## 参考资料
......
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