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:
- 42ba30b217bbf86f3e49ab2dd3aea8d9edcb28ba9e86037792d03990f5ccd3ec
- Size of remote file:
- 1.57 GB
- SHA256:
- 33d65df58aab6a7df32804614445485ca2e56e4db4eff29a9a08f0b958db7bba
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.