Skip to main content

Create a Python package.

Project description

image image image

🔥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接口


ChatGLM-6B Mac 本地部署实操记录

======= 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

ChatLLM-2023.4.26.11.22.47.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

ChatLLM-2023.4.26.11.22.47-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file ChatLLM-2023.4.26.11.22.47.tar.gz.

File metadata

  • Download URL: ChatLLM-2023.4.26.11.22.47.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

Hashes for ChatLLM-2023.4.26.11.22.47.tar.gz
Algorithm Hash digest
SHA256 1c2198fd6650412cb171570c78995638368922885688fdc83e912ae7446d5030
MD5 82a1c56a680bbe014456140b3b17cf19
BLAKE2b-256 f7f90b819ec3d4ee936c2342368766b01a9cc097d06b217660b9c4f472bd3729

See more details on using hashes here.

File details

Details for the file ChatLLM-2023.4.26.11.22.47-py3-none-any.whl.

File metadata

File hashes

Hashes for ChatLLM-2023.4.26.11.22.47-py3-none-any.whl
Algorithm Hash digest
SHA256 76fa4d6b07f39ef00ba5379bede6595178862c61f8b34a5371471791d2b0a762
MD5 adb5550a469b58a64f5efeb987b25614
BLAKE2b-256 2ade6917de2e77cf92956ab6c980fde2d24cbc40beabb31e68af54a6a7305133

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page