You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format of the ChatGLM3 dialogue consists of several conversations, each of which contains a dialogue header and content. A typical multi-turn dialogue structure is as follows:
<|system|>
You are ChatGLM3, a large language model trained by Zhipu.AI. Follow the user's instructions carefully. Respond using markdown.
<|user|>
Hello
<|assistant|>
Hello, I'm ChatGLM3. What can I assist you today?
The text was updated successfully, but these errors were encountered:
Those are completely different files. That #8031 was for the CLI version (which is also used/made into a server by some other projects like ollama). And the GGUF creation. This is for the gradio app server example that lets you choose a chat template when you run ./llama-server from the whisper.cpp github repo and navigate to http://localhost:port in the browser.
themanyone
changed the title
Feature Request: Add server support for chatglm3
Feature Request: Add support for chatglm3 in example server.
Aug 28, 2024
Prerequisites
Feature Description
ChatGLM3 uses a completely new prompt format. See https://github.com/THUDM/ChatGLM3/blob/main/PROMPT_en.md
I have created patch fd3492e for
examples/server/public/prompt-formats.js
Motivation
Fixes chat errors, repetitions, and role reversals when playing with the example server.
Possible Implementation
From ChatGLM3 README:
The text was updated successfully, but these errors were encountered: