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

sunsvrv
/
bart-base-facebook

Summarization
Transformers
PyTorch
TensorBoard
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
2

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

  • Libraries
  • Transformers

    How to use sunsvrv/bart-base-facebook with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="sunsvrv/bart-base-facebook")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("sunsvrv/bart-base-facebook")
    model = AutoModelForSeq2SeqLM.from_pretrained("sunsvrv/bart-base-facebook")
  • Notebooks
  • Google Colab
  • Kaggle
bart-base-facebook
561 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model
b1a377a over 2 years ago
  • runs
    Training complete over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 500 over 3 years ago
  • README.md
    2.16 kB
    Librarian Bot: Add base_model information to model over 2 years ago
  • config.json
    1.74 kB
    Training in progress, step 500 over 3 years ago
  • merges.txt
    456 kB
    Training in progress, step 500 over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    558 MB
    xet
    Training complete over 3 years ago
  • special_tokens_map.json
    280 Bytes
    Training in progress, step 500 over 3 years ago
  • tokenizer.json
    2.11 MB
    Training in progress, step 500 over 3 years ago
  • tokenizer_config.json
    384 Bytes
    Training in progress, step 500 over 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType"

    How to fix it?

    3.5 kB
    xet
    Training in progress, step 500 over 3 years ago
  • vocab.json
    798 kB
    Training in progress, step 500 over 3 years ago