Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
glide-the 2023-05-26 01:49:26 +08:00
commit 1c5f71beee
5 changed files with 1 additions and 6 deletions

View File

@ -221,6 +221,6 @@ Web UI 可以实现如下功能:
- [x] VUE 前端
## 项目交流群
![二维码](img/qr_code_22.jpg)
![二维码](img/qqr_code_1.jpg)
🎉 langchain-ChatGLM 项目交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。

BIN
img/qqr_code_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

View File

@ -1,6 +1,4 @@
from abc import ABC
from langchain.llms.base import LLM
from typing import Optional, List
from models.loader import LoaderCheckPoint
@ -8,9 +6,6 @@ from models.base import (BaseAnswer,
AnswerResult)
import transformers
class ChatGLM(BaseAnswer, LLM, ABC):
max_token: int = 10000
temperature: float = 0.01