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

zai-org
/
glm-large-chinese

Feature Extraction
Transformers
PyTorch
Chinese
glm
thudm
custom_code
Model card Files Files and versions
xet
Community
3

Instructions to use zai-org/glm-large-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zai-org/glm-large-chinese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="zai-org/glm-large-chinese", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("zai-org/glm-large-chinese", trust_remote_code=True)
    model = AutoModel.from_pretrained("zai-org/glm-large-chinese", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
glm-large-chinese
712 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
duzx16
Fix batch beam search
230f54e about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    2.25 kB
    add tag about 3 years ago
  • added_tokens.json
    223 Bytes
    init commit about 3 years ago
  • cog-pretrain.model
    1.02 MB
    xet
    init commit about 3 years ago
  • config.json
    965 Bytes
    init commit about 3 years ago
  • configuration_glm.py
    6.25 kB
    init commit about 3 years ago
  • modeling_glm.py
    39.8 kB
    Fix batch beam search about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    711 MB
    xet
    init commit about 3 years ago
  • tokenization_glm.py
    15.9 kB
    init commit about 3 years ago
  • tokenizer_config.json
    482 Bytes
    init commit about 3 years ago