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

usakha
/
Bart_GovReport_model

Summarization
Transformers
PyTorch
TensorBoard
Safetensors
English
bart
text2text-generation
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use usakha/Bart_GovReport_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use usakha/Bart_GovReport_model 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="usakha/Bart_GovReport_model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("usakha/Bart_GovReport_model")
    model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Bart_GovReport_model")
  • Notebooks
  • Google Colab
  • Kaggle
Bart_GovReport_model / runs
7.19 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
usakha's picture
usakha
Training in progress, step 2500
a204883 almost 3 years ago
  • Jun26_11-00-24_51817137b9a4
    Training in progress, step 2500 almost 3 years ago