Instructions to use zai-org/chatglm3-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/chatglm3-6b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/chatglm3-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Huggingface-cli downloads "THUDM/chatglm3-6b" failed with error: Distant resource does not have a Content-Length
#57
by yzha107 - opened
Traceback (most recent call last):
File "C:\Users\superbuilder\miniforge3\envs\yi-llm\Lib\site-packages\huggingface_hub\file_download.py", line 1754, in _get_metadata_or_catch_error
raise FileMetadataError("Distant resource does not have a Content-Length.")
huggingface_hub.utils._errors.FileMetadataError: Distant resource does not have a Content-Length.