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
/
WebGLM

Transformers
PyTorch
English
glm
text2text-generation
webglm
thudm
custom_code
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use zai-org/WebGLM with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("zai-org/WebGLM", trust_remote_code=True)
    model = AutoModelForSeq2SeqLM.from_pretrained("zai-org/WebGLM", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
WebGLM
1.58 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 2 commits
3v324v23's picture
3v324v23
add GLM code
39bff6f about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • LICENSE.txt
    11.3 kB
    add GLM code about 3 years ago
  • added_tokens.json
    174 Bytes
    add GLM code about 3 years ago
  • config.json
    999 Bytes
    add GLM code about 3 years ago
  • configuration_glm.py
    6.25 kB
    add GLM code about 3 years ago
  • generation_config.json
    69 Bytes
    add GLM code about 3 years ago
  • merges.txt
    456 kB
    add GLM code about 3 years ago
  • modeling_glm.py
    39.8 kB
    add GLM code about 3 years ago
  • tokenization_glm.py
    15.9 kB
    add GLM code about 3 years ago
  • tokenizer_config.json
    466 Bytes
    add GLM code about 3 years ago
  • vocab.json
    1.04 MB
    add GLM code about 3 years ago