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

thu-coai
/
ShieldLM-6B-chatglm3

Feature Extraction
Transformers
Safetensors
English
Chinese
chatglm
custom_code
Model card Files Files and versions
xet
Community

Instructions to use thu-coai/ShieldLM-6B-chatglm3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use thu-coai/ShieldLM-6B-chatglm3 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="thu-coai/ShieldLM-6B-chatglm3", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("thu-coai/ShieldLM-6B-chatglm3", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ShieldLM-6B-chatglm3
12.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
nonstopfor's picture
nonstopfor
Update README.md
7b1f784 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    975 Bytes
    Update README.md over 2 years ago
  • config.json
    1.51 kB
    Upload model over 2 years ago
  • configuration_chatglm.py
    2.33 kB
    Upload model over 2 years ago
  • generation_config.json
    111 Bytes
    Upload model over 2 years ago
  • model-00001-of-00003.safetensors
    4.91 GB
    xet
    Upload model over 2 years ago
  • model-00002-of-00003.safetensors
    4.9 GB
    xet
    Upload model over 2 years ago
  • model-00003-of-00003.safetensors
    2.68 GB
    xet
    Upload model over 2 years ago
  • model.safetensors.index.json
    20.4 kB
    Upload model over 2 years ago
  • modeling_chatglm.py
    55.6 kB
    Upload model over 2 years ago
  • quantization.py
    14.7 kB
    Upload model over 2 years ago
  • tokenization_chatglm.py
    11.3 kB
    Upload model over 2 years ago
  • tokenizer.model
    1.02 MB
    xet
    Upload model over 2 years ago
  • tokenizer_config.json
    244 Bytes
    Upload model over 2 years ago