Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
XrayGLM_pytorch
Commits
387c1cee
Unverified
Commit
387c1cee
authored
May 30, 2023
by
MPU王荣胜
Committed by
GitHub
May 30, 2023
Browse files
Update README.md
parent
aaad8935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
README.md
README.md
+12
-1
No files found.
README.md
View file @
387c1cee
...
...
@@ -95,7 +95,8 @@ pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-deps "SwissArmyTrans
|checkpoints-XrayGLM-3000|
<a
href=
'https://huggingface.co/wangrongsheng/XrayGLM-3000'
><img
src=
'https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue'
></a>
|低|
|checkpoints-XrayGLM-xxx-plus|-|高|
CLI推理:
#### CLI推理
```
python
python
cli_demo
.
py
--
from_pretrained
checkpoints
/
checkpoints
-
XrayGLM
-
3000
--
prompt_zh
'详细描述这张胸部X光片的诊断结果'
```
...
...
@@ -103,6 +104,16 @@ python cli_demo.py --from_pretrained checkpoints/checkpoints-XrayGLM-3000 --prom
如果您是
**Google Colab Pro**
会员,请可以直接在Colab中运行XrayGLM:
<a
href=
"https://colab.research.google.com/drive/1aR8SSaseyprsxnor-gDyMo96V9jD7iGP?usp=sharing"
><img
alt=
"GitHub Contributors"
src=
"https://colab.research.google.com/assets/colab-badge.svg"
/></a>
#### WebUI运行
```
python
python
web_demo
.
py
--
from_pretrained
checkpoints
/
checkpoints
-
XrayGLM
-
3000
```
此时访问
`http://127.0.0.1:7860`
即可

### 3.模型训练(复现XrayGLM)
<details>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment