Yuhao commited on
Commit
dce2602
·
1 Parent(s): c55a354

Refine README clone source and usage layout

Browse files
Files changed (1) hide show
  1. README.md +10 -43
README.md CHANGED
@@ -48,7 +48,7 @@ This repo provides full-precision inference, INT4 quantized inference, multi-tur
48
  From scratch:
49
 
50
  ```bash
51
- git clone https://github.com/yuhos16/SkinGPT-R1.git
52
  cd SkinGPT-R1
53
  conda env create -f environment.yml
54
  conda activate skingpt-r1
@@ -57,7 +57,7 @@ conda activate skingpt-r1
57
  Manual setup:
58
 
59
  ```bash
60
- git clone https://github.com/yuhos16/SkinGPT-R1.git
61
  cd SkinGPT-R1
62
  conda create -n skingpt-r1 python=3.10.20 -y
63
  conda activate skingpt-r1
@@ -86,49 +86,16 @@ bash inference/int4_quantized/run_infer.sh --image_path ./test_images/lesion.jpg
86
 
87
  ## Usage
88
 
89
- ### Full Precision
 
 
 
 
90
 
91
- Single image
92
 
93
- ```bash
94
- bash inference/full_precision/run_infer.sh --image ./test_images/lesion.jpg
95
- ```
96
-
97
- Multi-turn chat
98
-
99
- ```bash
100
- bash inference/full_precision/run_chat.sh --image ./test_images/lesion.jpg
101
- ```
102
-
103
- API service
104
-
105
- ```bash
106
- bash inference/full_precision/run_api.sh
107
- ```
108
-
109
- Default API port: `5900`
110
-
111
- ### INT4 Quantized
112
-
113
- Single image
114
-
115
- ```bash
116
- bash inference/int4_quantized/run_infer.sh --image_path ./test_images/lesion.jpg
117
- ```
118
-
119
- Multi-turn chat
120
-
121
- ```bash
122
- bash inference/int4_quantized/run_chat.sh --image ./test_images/lesion.jpg
123
- ```
124
-
125
- API service
126
-
127
- ```bash
128
- bash inference/int4_quantized/run_api.sh
129
- ```
130
-
131
- Default API port: `5901`
132
 
133
  Notes
134
 
 
48
  From scratch:
49
 
50
  ```bash
51
+ git clone https://huggingface.co/yuhos16/SkinGPT-R1
52
  cd SkinGPT-R1
53
  conda env create -f environment.yml
54
  conda activate skingpt-r1
 
57
  Manual setup:
58
 
59
  ```bash
60
+ git clone https://huggingface.co/yuhos16/SkinGPT-R1
61
  cd SkinGPT-R1
62
  conda create -n skingpt-r1 python=3.10.20 -y
63
  conda activate skingpt-r1
 
86
 
87
  ## Usage
88
 
89
+ | Mode | Full Precision | INT4 Quantized |
90
+ | --- | --- | --- |
91
+ | Single image | `bash inference/full_precision/run_infer.sh --image ./test_images/lesion.jpg` | `bash inference/int4_quantized/run_infer.sh --image_path ./test_images/lesion.jpg` |
92
+ | Multi-turn chat | `bash inference/full_precision/run_chat.sh --image ./test_images/lesion.jpg` | `bash inference/int4_quantized/run_chat.sh --image ./test_images/lesion.jpg` |
93
+ | API service | `bash inference/full_precision/run_api.sh` | `bash inference/int4_quantized/run_api.sh` |
94
 
95
+ Default API ports:
96
 
97
+ - Full precision: `5900`
98
+ - INT4 quantized: `5901`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
  Notes
101