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

  • Log In
  • Sign Up

facebook
/
bart-base

Feature Extraction
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Safetensors
English
bart
Model card Files Files and versions
xet
Community
9

Instructions to use facebook/bart-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/bart-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="facebook/bart-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base")
    model = AutoModel.from_pretrained("facebook/bart-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bart-base
2.23 GB
Ctrl+K
Ctrl+K
  • 8 contributors
History: 19 commits
lysandre's picture
lysandre HF Staff
Narsil's picture
Narsil
Adding `safetensors` variant of this model (#2)
aadd2ab over 3 years ago
  • .gitattributes
    445 Bytes
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • README.md
    2.59 kB
    typo: encoder-encoder -> encoder-decoder (#1) almost 4 years ago
  • config.json
    1.72 kB
    Update config.json about 4 years ago
  • flax_model.msgpack
    558 MB
    xet
    update mask token embeddings over 4 years ago
  • merges.txt
    456 kB
    Added vocabulary files from robert-large repo over 5 years ago
  • model.safetensors
    558 MB
    xet
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    558 MB
    xet
    update mask token embeddings over 4 years ago
  • tf_model.h5
    558 MB
    xet
    update mask token embeddings over 4 years ago
  • tokenizer.json
    1.36 MB
    Move tokenizer.json from roberta-large about 5 years ago
  • vocab.json
    899 kB
    Added vocabulary files from robert-large repo over 5 years ago