Summarization
Transformers
PyTorch
Safetensors
gpt2
text-generation
Generated from Trainer
text-generation-inference
Instructions to use Ssarion/gpt2-multi-news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ssarion/gpt2-multi-news 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="Ssarion/gpt2-multi-news")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Ssarion/gpt2-multi-news") model = AutoModelForCausalLM.from_pretrained("Ssarion/gpt2-multi-news") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 02a28d4035f98776128d67b0a59da6bb83779ac1ed1f2e7230e7738ccc6fa8d8
- Size of remote file:
- 510 MB
- SHA256:
- 6abca5d2cbce7d4f82aeb74055ed1b9ef0a94a1dea7abe81a3f057884ef23017
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.