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

  • Log In
  • Sign Up

ValkyriaLenneth
/
longformer_zh

Feature Extraction
Transformers
PyTorch
longformer
Model card Files Files and versions
xet
Community
5

Instructions to use ValkyriaLenneth/longformer_zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ValkyriaLenneth/longformer_zh with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="ValkyriaLenneth/longformer_zh")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("ValkyriaLenneth/longformer_zh")
    model = AutoModel.from_pretrained("ValkyriaLenneth/longformer_zh")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
longformer_zh
505 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
ValkyriaLenneth's picture
ValkyriaLenneth
update model
87c8e56 over 4 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    5.91 kB
    update model over 4 years ago
  • config.json
    997 Bytes
    update model over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    505 MB
    xet
    update model over 4 years ago
  • special_tokens_map.json
    112 Bytes
    init model almost 5 years ago
  • tokenizer_config.json
    88 Bytes
    init model almost 5 years ago
  • vocab.txt
    110 kB
    init model almost 5 years ago