.. _models_llm_chatglm: ======================================== chatglm ======================================== - **Context Length:** 2048 - **Model Name:** chatglm - **Languages:** en, zh - **Abilities:** chat - **Description:** ChatGLM is an open-source General Language Model (GLM) based LLM trained on both Chinese and English data. Specifications ^^^^^^^^^^^^^^ Model Spec 1 (ggmlv3, 6 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** ggmlv3 - **Model Size (in billions):** 6 - **Quantizations:** q4_0, q4_1, q5_0, q5_1, q8_0 - **Engines**: llama.cpp - **Model ID:** Xorbits/chatglm-6B-GGML - **Model Hubs**: `Hugging Face `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name chatglm --size-in-billions 6 --model-format ggmlv3 --quantization ${quantization} Model Spec 2 (pytorch, 6 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** pytorch - **Model Size (in billions):** 6 - **Quantizations:** 4-bit, 8-bit, none - **Engines**: Transformers - **Model ID:** THUDM/chatglm-6b - **Model Hubs**: `Hugging Face `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name chatglm --size-in-billions 6 --model-format pytorch --quantization ${quantization}