Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

zai-org
/
chatglm2-6b-32k

Transformers
PyTorch
Chinese
English
chatglm
glm
thudm
custom_code
Model card Files Files and versions
xet
Community
11

Instructions to use zai-org/chatglm2-6b-32k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zai-org/chatglm2-6b-32k with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("zai-org/chatglm2-6b-32k", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
chatglm2-6b-32k
12.5 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
yuxiaod's picture
yuxiaod
Update README.md
09eee0b verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • MODEL_LICENSE
    4.13 kB
    Init commit over 3 years ago
  • README.md
    9.9 kB
    Update README.md over 2 years ago
  • config.json
    1.25 kB
    Init commit over 3 years ago
  • configuration_chatglm.py
    2.31 kB
    Init commit over 3 years ago
  • modeling_chatglm.py
    51.5 kB
    Optimize the storage of KV cache over 3 years ago
  • pytorch_model-00001-of-00007.bin
    1.83 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00002-of-00007.bin
    1.97 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00003-of-00007.bin
    1.93 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00004-of-00007.bin
    1.82 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00005-of-00007.bin
    1.97 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00006-of-00007.bin
    1.93 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model-00007-of-00007.bin
    1.05 GB
    xet
    Upload 8 files over 3 years ago
  • pytorch_model.bin.index.json
    20.4 kB
    Init commit over 3 years ago
  • quantization.py
    14.7 kB
    Init commit over 3 years ago
  • tokenization_chatglm.py
    10.1 kB
    Fix tokenizer for transformers 0.34 about 3 years ago
  • tokenizer.model
    1.02 MB
    xet
    Upload 8 files over 3 years ago
  • tokenizer_config.json
    244 Bytes
    Init commit over 3 years ago