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/encoder_model.onnx from Falconsai/text_summarization: direct link, hf CLI and curl.
- Browser
- Download file 141 MB
-
https://huggingface.co/Falconsai/text_summarization/resolve/refs%2Fpr%2F4/onnx/encoder_model.onnx
- Command line
-
hf download hf://Falconsai/text_summarization@refs/pr/4/onnx/encoder_model.onnx
-
curl -L -o encoder_model.onnx https://huggingface.co/Falconsai/text_summarization/resolve/refs%2Fpr%2F4/onnx/encoder_model.onnx
141 MB
- Xet hash:
- 3dc21591ba1c08c005369e70b9da694101869950f9b5a3f293e32870cf1173a6
- Size of remote file:
- 141 MB
- SHA256:
- ab895b89b6dba2658f8cd766b48129695b36437df911b0bf1ab09daa667b8d71
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.