Create a Python package.
Project description
🔥ChatLLM🔥
Install
pip
install - U
chatllm
Docs
Usages
from chatllm.applications import ChatBase
qa = ChatBase()
qa.load_llm4chat(model_name_or_path="THUDM/chatglm-6b")
for i, _ in qa(query='周杰伦是谁', knowledge_base='周杰伦是傻子'):
pass
# 根据已知信息无法回答该问题,因为周杰伦是中国内地流行歌手、演员、音乐制作人、导演,
# 是具有一定的知名度和专业能力的人物,没有提供足够的信息无法判断他是傻子。
Click to ChatPDF
from chatllm.applications.chatpdf import ChatPDF
qa = ChatPDF(encode_model='nghuyong/ernie-3.0-nano-zh')
qa.load_llm4chat(model_name_or_path="THUDM/chatglm-6b")
for i, _ in qa(query='东北证券主营业务'):
pass
TODO
-
增加UI
-
增加ChatPDF
-
增加本地知识库组件
-
增加互联网搜索组件
-
增加知识图谱组件
-
增加微调模块
-
增加流式输出
-
增加http接口
-
增加grpc接口
======= History
0.0.0 (2023-04-11)
- First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ChatLLM-2023.4.26.12.27.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad165686731fea3127ecae89a1e0376d748a6d72ed690e21f622b173c39fed4 |
|
MD5 | a83621d1ad6f7cf398219d59cad752fa |
|
BLAKE2b-256 | 9ffc38a5d2b8a0696e3e4d8b89820302bdead611cbfc6d2b0f2d7c0d0cdebd27 |
Close
Hashes for ChatLLM-2023.4.26.12.27.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4cc699e81bb061eb0c3d656aaa40df404282afb6f7aa2414fdf8ff143e310a5 |
|
MD5 | 6daf99e51a5c9dd104a0f7b954c37625 |
|
BLAKE2b-256 | 81ddff02e7f5fcd153a090341de3f491df495b09f915737678023a9d1a41153c |