Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

zai-org
/
glm-roberta-large

Feature Extraction
Transformers
PyTorch
English
glm
thudm
custom_code
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="zai-org/glm-roberta-large", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("zai-org/glm-roberta-large", trust_remote_code=True)
    model = AutoModel.from_pretrained("zai-org/glm-roberta-large", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
glm-roberta-large
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
duzx16
Fix batch beam search
89621ea about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    2 kB
    add tag about 3 years ago
  • added_tokens.json
    77 Bytes
    init commit about 3 years ago
  • config.json
    964 Bytes
    init commit about 3 years ago
  • configuration_glm.py
    6.25 kB
    init commit about 3 years ago
  • merges.txt
    456 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)

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

    What is a pickle import?

    1.42 GB
    xet
    init commit about 3 years ago
  • tokenization_glm.py
    15.9 kB
    init commit about 3 years ago
  • tokenizer_config.json
    440 Bytes
    init commit about 3 years ago
  • vocab.json
    899 kB
    init commit about 3 years ago