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

Gabriel
/
bart-base-cnn-xsum-swe

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

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

  • Libraries
  • Transformers

    How to use Gabriel/bart-base-cnn-xsum-swe 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="Gabriel/bart-base-cnn-xsum-swe")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Gabriel/bart-base-cnn-xsum-swe")
    model = AutoModelForSeq2SeqLM.from_pretrained("Gabriel/bart-base-cnn-xsum-swe", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bart-base-cnn-xsum-swe
560 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 22 commits
Gabriel's picture
Gabriel
autoevaluator's picture
autoevaluator HF Staff
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#1)
9b280fa over 3 years ago
  • runs
    End of training almost 4 years ago
  • .gitattributes
    1.38 kB
    initial commit almost 4 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 500 almost 4 years ago
  • README.md
    5.62 kB
    Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#1) over 3 years ago
  • config.json
    1.04 kB
    Training in progress, epoch 0 almost 4 years ago
  • pytorch_model.bin
    558 MB
    xet
    End of training almost 4 years ago
  • special_tokens_map.json
    168 Bytes
    Training in progress, step 500 almost 4 years ago
  • tokenizer.json
    2.23 MB
    Training in progress, step 500 almost 4 years ago
  • tokenizer_config.json
    463 Bytes
    Training in progress, step 500 almost 4 years ago
  • training_args.bin
    3.5 kB
    xet
    Training in progress, epoch 0 almost 4 years ago