Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

usakha
/
Prophetnet_GovReport_model

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

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

  • Libraries
  • Transformers

    How to use usakha/Prophetnet_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/Prophetnet_GovReport_model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("usakha/Prophetnet_GovReport_model")
    model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Prophetnet_GovReport_model")
  • Notebooks
  • Google Colab
  • Kaggle
Prophetnet_GovReport_model / runs
7.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
usakha's picture
usakha
Training in progress, step 3000
59e9a78 almost 3 years ago
  • Jun27_10-58-52_1469893effc5
    Training in progress, step 3000 almost 3 years ago