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

fengtc
/
chatglm-6b-int4

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

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

  • Libraries
  • Transformers

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

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("fengtc/chatglm-6b-int4", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
chatglm-6b-int4
3.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
fengtc's picture
fengtc
commit from
1b67df1 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • LICENSE
    11.3 kB
    commit from almost 3 years ago
  • MODEL_LICENSE
    4.27 kB
    commit from almost 3 years ago
  • README.md
    4.93 kB
    commit from almost 3 years ago
  • config.json
    838 Bytes
    commit from almost 3 years ago
  • configuration_chatglm.py
    4.38 kB
    commit from almost 3 years ago
  • ice_text.model
    2.71 MB
    xet
    commit from almost 3 years ago
  • modeling_chatglm.py
    59.4 kB
    commit from almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    3.89 GB
    xet
    commit from almost 3 years ago
  • quantization.py
    31 kB
    commit from almost 3 years ago
  • quantization_kernels.c
    1.16 kB
    commit from almost 3 years ago
  • quantization_kernels_parallel.c
    1.61 kB
    commit from almost 3 years ago
  • tokenization_chatglm.py
    17 kB
    commit from almost 3 years ago
  • tokenizer_config.json
    446 Bytes
    commit from almost 3 years ago