Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LC044 committed Mar 29, 2024
1 parent 2cee330 commit 667e663
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Binary file added MemoAI/img/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MemoAI/img/img2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions MemoAI/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ token 不参与 `loss` 计算。

配置文件

config/lora.yaml

```yaml
data_config:
train_file: train.json
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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)

0 comments on commit 667e663

Please sign in to comment.