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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ranchlai
/
chatglm3-6B-gptq-4bit

Feature Extraction
Transformers
PyTorch
chatglm
custom_code
4-bit precision
gptq
Model card Files Files and versions
xet
Community
3

Instructions to use ranchlai/chatglm3-6B-gptq-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ranchlai/chatglm3-6B-gptq-4bit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="ranchlai/chatglm3-6B-gptq-4bit", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("ranchlai/chatglm3-6B-gptq-4bit", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
chatglm3-6B-gptq-4bit
4.38 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ranchlai's picture
ranchlai
init
8f7c311 almost 3 years ago
  • .gitattributes
    106 Bytes
    init almost 3 years ago
  • config.json
    2.96 MB
    init almost 3 years ago
  • configuration_chatglm.py
    2.33 kB
    init almost 3 years ago
  • generation_config.json
    116 Bytes
    init almost 3 years ago
  • modeling_chatglm.py
    55.6 kB
    init almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    4.37 GB
    xet
    init almost 3 years ago
  • quantization.py
    14.7 kB
    init almost 3 years ago
  • special_tokens_map.json
    3 Bytes
    init almost 3 years ago
  • tokenization_chatglm.py
    11.3 kB
    init almost 3 years ago
  • tokenizer.model
    1.02 MB
    xet
    init almost 3 years ago
  • tokenizer_config.json
    325 Bytes
    init almost 3 years ago