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

  • Log In
  • Sign Up

sshleifer
/
student_pegasus_cnn_12_2

Transformers
PyTorch
pegasus
text2text-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use sshleifer/student_pegasus_cnn_12_2 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("sshleifer/student_pegasus_cnn_12_2")
    model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/student_pegasus_cnn_12_2")
  • Notebooks
  • Google Colab
  • Kaggle
student_pegasus_cnn_12_2
1.14 GB
Ctrl+K
Ctrl+K
History: 6 commits
system's picture
system HF Staff
Update config.json
d8ce6f1 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • config.json
    1.42 kB
    Update config.json over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.14 GB
    xet
    Update pytorch_model.bin over 5 years ago
  • special_tokens_map.json
    65 Bytes
    Update special_tokens_map.json over 5 years ago
  • spiece.model
    1.91 MB
    Update spiece.model over 5 years ago
  • tokenizer_config.json
    88 Bytes
    Update tokenizer_config.json over 5 years ago