简体中文 | English
The API interface of this project is compatible with openai, and various open-source projects using openai can be easily adapted. In addition, I also call on everyone to develop compatible API interfaces in a similar way, which is conducive to the development of related applications.
Go to https://github.com/josStorer/chatGPTBox, and switch to the following API mode to quickly experience:
- ChatGLM 6B Int4
- Offline
- This package is based on ChatGLM, open-sourced under the Apache-2.0 license. The built-in model is a trimmed version of https://huggingface.co/silver/chatglm-6b-int4-slim. After unzipping, simply double-click run.bat to launch.
- Self-Hosted
- Click the link above to go to Huggingface, copy the space, switch the CPU to the second 8-core for a fast
experience, at this time the API address is,
[your name]-[repository name].hf.space
, for example, if I copy and set the name totest
, then my URL would behttps://josstorer-test.hf.space/chat/completions
- Click the link above to go to Huggingface, copy the space, switch the CPU to the second 8-core for a fast
experience, at this time the API address is,
- Offline