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
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
File details
Details for the file ChatLLM-2023.4.26.12.12.10.tar.gz
.
File metadata
- Download URL: ChatLLM-2023.4.26.12.12.10.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84faf3922bff81e72366a6747d5ffd27f3fb84f3bd3056c59923cca28a79ac01 |
|
MD5 | bfa34a277b9b43c6d773f5528e34285e |
|
BLAKE2b-256 | df1827b1492cbccdd1921061e57977878a260dd4fb2ab94faf6a7519e111faec |
File details
Details for the file ChatLLM-2023.4.26.12.12.10-py3-none-any.whl
.
File metadata
- Download URL: ChatLLM-2023.4.26.12.12.10-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6c5106f1ba583f084bbbc71f32bd60c74ceb3c042f7e4661c616cb343d4309d |
|
MD5 | e015308fa9433be5428e225ce057d73f |
|
BLAKE2b-256 | 9dc9ad12427a968f0b9e77a7c9aff1f81637eeeafe462e4a5e5195af9b4105bf |