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

sunzeyeah
/
glm-10B-chinese

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

Instructions to use sunzeyeah/glm-10B-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sunzeyeah/glm-10B-chinese with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="sunzeyeah/glm-10B-chinese", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("sunzeyeah/glm-10B-chinese", trust_remote_code=True)
    model = AutoModel.from_pretrained("sunzeyeah/glm-10B-chinese", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
glm-10B-chinese
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sunzeyeah's picture
sunzeyeah
init
ef8d447 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    3.38 kB
    init about 3 years ago
  • added_tokens.json
    223 Bytes
    init about 3 years ago
  • cog-pretrain.model
    1.02 MB
    xet
    init about 3 years ago
  • config.json
    999 Bytes
    init about 3 years ago
  • configuration_glm.py
    6.25 kB
    init about 3 years ago
  • modeling_glm.py
    39.8 kB
    init about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    19.8 GB
    xet
    init about 3 years ago
  • tokenization_glm.py
    16.4 kB
    init about 3 years ago
  • tokenizer_config.json
    504 Bytes
    init about 3 years ago