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

  • Log In
  • Sign Up

silver
/
chatglm-6b-int4-slim

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

Instructions to use silver/chatglm-6b-int4-slim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use silver/chatglm-6b-int4-slim with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("silver/chatglm-6b-int4-slim", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
chatglm-6b-int4-slim
4.06 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 14 commits
silver's picture
silver
Merge remote-tracking branch 'thu/main'
c9ec057 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • LICENSE
    11.3 kB
    init commmit about 3 years ago
  • MODEL_LICENSE
    2.35 kB
    init commmit about 3 years ago
  • README.md
    5.53 kB
    update readme about 3 years ago
  • config.json
    790 Bytes
    Merge remote-tracking branch 'thu/main' about 3 years ago
  • configuration_chatglm.py
    4.23 kB
    Merge remote-tracking branch 'thu/main' about 3 years ago
  • ice_text.model
    2.7 MB
    xet
    init commmit about 3 years ago
  • modeling_chatglm.py
    58.2 kB
    Merge remote-tracking branch 'thu/main' about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (5)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.HalfStorage",
    • "torch.FloatStorage",
    • "torch.CharStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    4.06 GB
    xet
    remove unused image token about 3 years ago
  • quantization.py
    28.9 kB
    Synchronize with chatglm 6b repo about 3 years ago
  • quantization_kernels.c
    1.16 kB
    init commmit about 3 years ago
  • quantization_kernels_parallel.c
    1.61 kB
    Fix parallel cpu kernel about 3 years ago
  • tokenization_chatglm.py
    17.3 kB
    Merge remote-tracking branch 'thu/main' about 3 years ago
  • tokenizer_config.json
    416 Bytes
    init commmit about 3 years ago