Skip to content

Commit

Permalink
update readme & add secgpt-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
boy-hack committed Feb 27, 2024
1 parent 8875cbc commit 7bf24c4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
- [huggingface](https://huggingface.co/clouditera/secgpt)
- [wisemodel](https://wisemodel.cn/models/clouditera/secgpt)

**最新**
- [SecGpt-Mini已经发布,可以在CPU运行](./secgpt-mini/README.md)

## 模型介绍
SecGPT的愿景是将人工智能技术引入网络安全领域,以提高网络防御的效率和效果。其使命是推动网络安全智能化,为社会提供更安全的数字生活环境。
Expand Down
27 changes: 27 additions & 0 deletions secgpt-mini/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
CPU就能跑!

## Docker一键运行
```dockerfile
FROM python:slim

WORKDIR /secgpt-mini

COPY . /secgpt-mini

RUN pip install -i https://mirrors.ustc.edu.cn/pypi/web/simple -r requirements.txt

EXPOSE 7860

CMD ["python", "webdemo.py", "--base_model", "/secgpt-mini/models"]
```
## 手动运行

模型使用方法:

1. 下载模型和源码

2. 安装python3.7 和依赖 pip install -r requirements.txt

3. 运行 python3 webdemo.py —base_model models

4. 输入指令就可以了

0 comments on commit 7bf24c4

Please sign in to comment.