Summarization
Transformers
PyTorch
Core ML
ONNX
Safetensors
English
t5
text2text-generation
text-generation-inference
Instructions to use Falconsai/text_summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/text_summarization 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="Falconsai/text_summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Falconsai/text_summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Falconsai/text_summarization", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download onnx/decoder_model.onnx from Falconsai/text_summarization: direct link, hf CLI and curl.
- Browser
- Download file 232 MB
-
https://huggingface.co/Falconsai/text_summarization/resolve/refs%2Fpr%2F4/onnx/decoder_model.onnx
- Command line
-
hf download hf://Falconsai/text_summarization@refs/pr/4/onnx/decoder_model.onnx
-
curl -L -o decoder_model.onnx https://huggingface.co/Falconsai/text_summarization/resolve/refs%2Fpr%2F4/onnx/decoder_model.onnx
232 MB
- Xet hash:
- 239cbed8917083529cfcd7ae52130e995fc334d94b9f7cd1b9286b3b9d4d7280
- Size of remote file:
- 232 MB
- SHA256:
- f1dc1e1dc292a5a675ccc2bbe4777bfb5727e420fa58746a3402a97bd7762645
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.