Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: support chatglm #754

Closed
Tracked by #1126
luoweb opened this issue Jul 16, 2023 · 7 comments
Closed
Tracked by #1126

feat: support chatglm #754

luoweb opened this issue Jul 16, 2023 · 7 comments

Comments

@luoweb
Copy link

luoweb commented Jul 16, 2023

ChatGLM project like llama.cpp https://github.com/li-plus/chatglm.cpp

@mudler mudler added the enhancement New feature or request label Jul 16, 2023
@mudler mudler changed the title can the project support chatglm feat: support chatglm Jul 16, 2023
@mudler
Copy link
Owner

mudler commented Jul 16, 2023

good catch, def. we can add it!

@localai-bot
Copy link
Contributor

localai-bot commented Jul 18, 2023

⚠️⚠️⚠️⚠️⚠️

Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!

but.... I can also be funny or helpful 😸 and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.

Don't engage in conversation with me,
I don't support (yet) replying!

⚠️⚠️⚠️⚠️⚠️

The LocalAI project has support for embeddings, but it is planned to be added according to the Hot topics / Roadmap list. It also has support for audio transcription and text-to-audio, but not GPU/CUDA support. The ChatGPT OSS alternative example exists, and image generation exists according to the News section. The Chatbot-UI and K8sGPT examples are listed in the Examples section, with a separate manual setup example for Chatbot-UI. Finally, there is no information on upstreaming golang bindings or enabling automatic downloading of models from HuggingFace, but it is mentioned as X and [X] respectively under the Hot topics / Roadmap list. There is also an OpenAI functions section, but its status is unclear according to the News section.

Sources:

@Aisuko
Copy link
Collaborator

Aisuko commented Oct 14, 2023

According to the chatGLM project README.md. I assume it can be compatible by the C++ backend. https://github.com/li-plus/chatglm.cpp#features

@fishfree
Copy link

I have test ChatGLM. It still does not work.

@BackMountainDevil
Copy link

@fishfree which version you test chatglm? 2 or 3? In 3, they said the have designed a new prompt format.

@szsteven008
Copy link

szsteven008 commented Feb 3, 2024

can access the gRPC interface service of chatglm using external-grpc-backends. Here is an example:https://github.com/szsteven008/chatglm.cpp/tree/main/examples/server

@mudler
Copy link
Owner

mudler commented Sep 23, 2024

Closing as this is now both supported by the llama.cpp and transformers backends.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

7 participants