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.12.12.10.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

ChatLLM-2023.4.26.12.12.10-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

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

Hashes for ChatLLM-2023.4.26.12.12.10.tar.gz
Algorithm Hash digest
SHA256 84faf3922bff81e72366a6747d5ffd27f3fb84f3bd3056c59923cca28a79ac01
MD5 bfa34a277b9b43c6d773f5528e34285e
BLAKE2b-256 df1827b1492cbccdd1921061e57977878a260dd4fb2ab94faf6a7519e111faec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ChatLLM-2023.4.26.12.12.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e6c5106f1ba583f084bbbc71f32bd60c74ceb3c042f7e4661c616cb343d4309d
MD5 e015308fa9433be5428e225ce057d73f
BLAKE2b-256 9dc9ad12427a968f0b9e77a7c9aff1f81637eeeafe462e4a5e5195af9b4105bf

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