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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
8

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", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bart-base
1.12 GB
Ctrl+K
Ctrl+K
  • 8 contributors
History: 9 commits
system's picture
system HF Staff
Update config.json
b2ec1a3 almost 6 years ago
  • .gitattributes
    345 Bytes
    initial commit about 6 years ago
  • config.json
    1.55 kB
    Update config.json almost 6 years ago
  • pytorch_model.bin
    558 MB
    xet
    Update pytorch_model.bin about 6 years ago
  • tf_model.h5
    558 MB
    xet
    Update tf_model.h5 almost 6 years ago