SuperAPIAI Directory

chatglm3-6b-128k

huggingface.co · Other AI tools

ChatGLM3-6B-128K is the long-text dialogue model of ChatGLM3-6B, with a focus on enhancing long-context understanding and capable of handling contexts up to 128K in length. By updating positional encoding and adopting more targeted long-text training methods, it is trained with a 128K context length during the dialogue stage. If the context is basically within 8K, the materials recommend ChatGLM3-6B; if it exceeds 8K, this model is recommended. It inherits the features of ChatGLM3-6B such as fluent dialogue and low deployment threshold, and supports complex scenarios such as multi-turn dialogue, tool calling, code execution, and Agent tasks. The model weights are fully open for academic research, and free commercial use is also permitted after filling out a questionnaire for registration; the code uses the Apache-2.0 license, and use of the weights must follow the Model License. Materials such as specific code invocation, command line and web DEMO, and quantization methods are not provided for now; please refer to its GitHub Repo.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWeb

About this tool

Purpose: ChatGLM3-6B-128K is an open-source machine learning model for long-text understanding and dialogue. It further strengthens long-text understanding on the basis of ChatGLM3-6B and can better handle contexts up to 128K in length. Recommendation from the materials: if the actual context length is basically within 8K, ChatGLM3-6B is recommended; if contexts longer than 8K need to be handled, ChatGLM3-6B-128K is recommended.

Main capabilities: On the basis of ChatGLM3-6B, this model updates the positional encoding and designs a more targeted long-text training method, and is trained with a 128K context length during the dialogue stage. ChatGLM3-6B retains the features of the previous two generations such as fluent dialogue and low deployment threshold, and introduces a stronger base model, ChatGLM3-6B-Base; the materials state that it uses more diverse training data, more sufficient training steps, and a more reasonable training strategy, and in dataset evaluations across semantics, mathematics, reasoning, code, knowledge, and other angles, ChatGLM3-6B-Base has the strongest performance among pre-trained models under 10B. ChatGLM3-6B also adopts a newly designed Prompt format and, in addition to normal multi-turn dialogue, natively supports complex scenarios such as tool calling (Function Call), code execution (Code Interpreter), and Agent tasks.

Usage: The materials explain that ChatGLM3-6B can be invoked through code to generate dialogue, but the specific code content is not provided; for more usage instructions, including how to run the command-line and web versions of the DEMO and use model quantization to save GPU memory, please refer to its GitHub Repo. The current materials do not give installation commands, complete invocation examples, or quantization steps, and they are not provided for now. The model page address is https://huggingface.co/THUDM/chatglm3-6b-128k。

Open source and licensing: The ChatGLM3 series has also open-sourced the base model ChatGLM-6B-Base and the long-text dialogue model ChatGLM3-6B-128K. All the above weights are fully open for academic research, and free commercial use is also permitted after filling out a questionnaire for registration. The code in this repository is open-sourced under the Apache-2.0 license, while use of the ChatGLM3-6B model weights must follow the Model License.

Applicable scenarios and limitations: Suitable for long-text dialogue tasks that need to handle contexts longer than 8K, as well as complex scenarios such as multi-turn dialogue, tool calling, code execution, and Agent tasks; if the context is basically within 8K, the materials recommend using ChatGLM3-6B instead. Information such as specific deployment environments, hardware requirements, inference speed, quantization effects, charges, and prices is not provided for now; commercial use requires completing questionnaire registration as required by the materials and following the corresponding model license.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools