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

Nourrr
/
bart-large-cnn

Summarization
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
TensorBoard
Rust
Safetensors
bart
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use Nourrr/bart-large-cnn 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="Nourrr/bart-large-cnn")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Nourrr/bart-large-cnn")
    model = AutoModelForSeq2SeqLM.from_pretrained("Nourrr/bart-large-cnn")
  • Notebooks
  • Google Colab
  • Kaggle
bart-large-cnn / runs
37.3 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Nourrr's picture
Nourrr
Training in progress, epoch 0
de4d4ad verified over 2 years ago
  • Jan05_20-05-40_53515fbb02a3
    End of training over 2 years ago
  • Jan07_15-20-27_68340c3297c6
    Training in progress, epoch 0 over 2 years ago
  • Jan10_17-01-25_21632e8b19ec
    Training in progress, epoch 0 over 2 years ago
  • Jan19_17-30-13_ff96caf03d7f
    Training in progress, epoch 0 over 2 years ago
  • Jan20_19-58-04_a523ad602937
    Training in progress, epoch 0 over 2 years ago