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
- Xet hash:
- cebb0996c907531fffd4f513dbb467d17d5e3acea67d64a727ddf0fd0a951579
- Size of remote file:
- 4.16 kB
- SHA256:
- 15e6d36bd9c9c0d05905539a6340df97b11538a5d2662a9a509b88fe26aa3879
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.