Update README.md
Browse files
README.md
CHANGED
|
@@ -22,16 +22,18 @@ Can be loaded and used by [chatglm.cpp](https://github.com/li-plus/chatglm.cpp)
|
|
| 22 |
|
| 23 |
[chatglm_langchain.py](chatglm_langchain.py)
|
| 24 |
|
| 25 |
-
```
|
| 26 |
python chatglm_langchain.py
|
| 27 |
|
|
|
|
| 28 |
小明的妈妈有两个孩子,一个叫大明,另外一个叫小明。
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
|
| 32 |
## Use under the shell command line
|
| 33 |
|
| 34 |
-
```
|
| 35 |
chatglm -m ./models/chatglm2-6b-ggml.q8_0.bin -p 你好
|
| 36 |
```
|
| 37 |
|
|
|
|
| 22 |
|
| 23 |
[chatglm_langchain.py](chatglm_langchain.py)
|
| 24 |
|
| 25 |
+
``` shell
|
| 26 |
python chatglm_langchain.py
|
| 27 |
|
| 28 |
+
Prompt: 小明的妈妈有两个孩子,一个叫大明 另外一个叫什么?
|
| 29 |
小明的妈妈有两个孩子,一个叫大明,另外一个叫小明。
|
| 30 |
+
|
| 31 |
```
|
| 32 |
|
| 33 |
|
| 34 |
## Use under the shell command line
|
| 35 |
|
| 36 |
+
``` shell
|
| 37 |
chatglm -m ./models/chatglm2-6b-ggml.q8_0.bin -p 你好
|
| 38 |
```
|
| 39 |
|