mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-09 01:21:18 +08:00
update readme.md
This commit is contained in:
parent
2cee3308ba
commit
667e66379b
BIN
MemoAI/img/img.png
Normal file
BIN
MemoAI/img/img.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
MemoAI/img/img2.png
Normal file
BIN
MemoAI/img/img2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@ -330,6 +330,8 @@ token 不参与 `loss` 计算。
|
||||
|
||||
配置文件
|
||||
|
||||
config/lora.yaml
|
||||
|
||||
```yaml
|
||||
data_config:
|
||||
train_file: train.json
|
||||
@ -389,7 +391,7 @@ python finetune_hf.py data/ E:\\Project\\Python\\Langchain-Chatchat\\chatglm3-
|
||||
|
||||
## 部署
|
||||
|
||||
api_server.py修改微调保存路径
|
||||
在api_server.py修改微调保存路径
|
||||
```python
|
||||
model, tokenizer = load_model_and_tokenizer(
|
||||
r'E:\Project\Python\ChatGLM3\finetune_demo\output03-24\checkpoint-224000'
|
||||
@ -437,4 +439,12 @@ def simple_chat(use_stream=True):
|
||||
|
||||
if __name__ == "__main__":
|
||||
simple_chat(use_stream=True)
|
||||
```
|
||||
```
|
||||
|
||||
## 体验地址
|
||||
|
||||
[https://chat/memotrace.cn/](https://chat/memotrace.cn/)
|
||||
|
||||
![img.png](img/img.png)
|
||||
|
||||
![img.png](img/img2.png)
|
Loading…
Reference in New Issue
Block a user