Create a Python package.
Project description
🔥ChatLLM🔥
Install
pip install -U llm4gpt
Docs
Usages
from chatllm.applications import ChatBase
qa = ChatBase()
qa.load_llm4chat(model_name_or_path="MODEL")
for i, _ in qa(query='周杰伦是谁', knowledge_base='周杰伦是傻子'):
pass
# 根据已知信息无法回答该问题,因为周杰伦是中国内地流行歌手、演员、音乐制作人、导演,
# 是具有一定的知名度和专业能力的人物,没有提供足够的信息无法判断他是傻子。
TODO
-
增加UI
-
增加本地知识库组件
-
增加互联网搜索组件
-
增加知识图谱组件
-
增加微调模块
-
增加流式输出
======= 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.9.50.3.tar.gz
.
File metadata
- Download URL: ChatLLM-2023.4.26.9.50.3.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 | 2b899e66d8081e9f06ba68b4d2d00ef34285925915c0819b0ddee2b35701a85e |
|
MD5 | f3e36de0e89398f3bb2fbeeb6d2b76c1 |
|
BLAKE2b-256 | 9e4c4617349ed2877af5ecbf537d039cfe3a2ed7f0eb66d9b9204084f50b0b18 |
File details
Details for the file ChatLLM-2023.4.26.9.50.3-py3-none-any.whl
.
File metadata
- Download URL: ChatLLM-2023.4.26.9.50.3-py3-none-any.whl
- Upload date:
- Size: 24.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 | 5aa96131af397a1ab4a959eed9ebc7672a03d314bb3b0b04cab35c2506ee9a66 |
|
MD5 | 6ed5c7b18f860f3303aa75db92c5c55c |
|
BLAKE2b-256 | 28d1a45ee9e64c8cec49bddd812a103de13e72dacd86b255249cb4c2d58ffc99 |