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

allenai
/
PRIMERA

Transformers
PyTorch
google-tensorflow TensorFlow
led
text2text-generation
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Transformers

    How to use allenai/PRIMERA with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("allenai/PRIMERA")
    model = AutoModelForSeq2SeqLM.from_pretrained("allenai/PRIMERA")
  • Notebooks
  • Google Colab
  • Kaggle
PRIMERA
Ctrl+K
Ctrl+K
  • 5 contributors
History: 14 commits
joaogante's picture
joaogante
Add TF weights
6fc49b6 almost 4 years ago
  • .gitattributes
    1.18 kB
    initial commit about 4 years ago
  • README.md
    1.2 kB
    Update README.md about 4 years ago
  • added_tokens.json
    20 Bytes
    Upload added_tokens.json about 4 years ago
  • config.json
    1.91 kB
    update config.json almost 4 years ago
  • merges.txt
    456 kB
    Upload merges.txt about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.79 GB
    xet
    Upload pytorch_model.bin with git-lfs about 4 years ago
  • special_tokens_map.json
    283 Bytes
    Upload special_tokens_map.json about 4 years ago
  • tf_model.h5
    1.79 GB
    xet
    Add TF weights almost 4 years ago
  • tokenizer_config.json
    27 Bytes
    Upload tokenizer_config.json about 4 years ago
  • vocab.json
    798 kB
    Upload vocab.json about 4 years ago