Summarization
Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use Gabriel/flan-t5-base-xsum-swe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gabriel/flan-t5-base-xsum-swe 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="Gabriel/flan-t5-base-xsum-swe")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Gabriel/flan-t5-base-xsum-swe") model = AutoModelForSeq2SeqLM.from_pretrained("Gabriel/flan-t5-base-xsum-swe", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Gabriel/flan-t5-base-xsum-swe: direct link, hf CLI and curl.
- Browser
- Download file 990 MB
-
https://huggingface.co/Gabriel/flan-t5-base-xsum-swe/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Gabriel/flan-t5-base-xsum-swe/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Gabriel/flan-t5-base-xsum-swe/resolve/main/pytorch_model.bin
990 MB
- Xet hash:
- 7841cbf36bd63283f7856e28a246cab60924e213d673bc3aa6788bf5ff873ba2
- Size of remote file:
- 990 MB
- SHA256:
- 45c35dfc5b44b4ad025561dc8d1859b55d3f5f98b8347b2793a8b84fa10b573d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.