Run this model with HF Jobs
Run onnx-community/Text-Summarizer-t5-small-ONNX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/onnx-community/Text-Summarizer-t5-small-ONNX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/onnx-community/Text-Summarizer-t5-small-ONNX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use onnx-community/Text-Summarizer-t5-small-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/Text-Summarizer-t5-small-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('summarization', 'onnx-community/Text-Summarizer-t5-small-ONNX');
Text-Summarizer-t5-small (ONNX)
This is an ONNX version of UX4567/Text-Summarizer-t5-small. It was automatically converted and uploaded using this Hugging Face Space.
Usage with Transformers.js
See the pipeline documentation for summarization: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.SummarizationPipeline
Text Summarizer (T5 Fine-Tuned)
This model is a fine-tuned version of T5 designed for abstractive text summarization. It condenses long articles, documents, or paragraphs into short, accurate, and context-aware summaries.
Model Details
Model Description
- Developed by: Kartik Sharma
- Model type: Sequence-to-Sequence (Encoder-Decoder)
- Language(s): English
- Base Model: T5 Architecture
- Task: Text Summarization
How to Get Started with the Model
You can load and test the model using the Hugging Face transformers pipeline or direct model classes:
Using Transformers Pipeline
from transformers import pipeline
summarizer = pipeline("text-generation", model="UX4567/Text-Summarizer-t5-small")
text = """
Artificial Intelligence (AI) is transforming industries across the globe. From healthcare to finance,
machine learning models are enabling automation, improving efficiency, and driving innovation.
As AI technology continues to evolve, ethical considerations and proper implementation become
critical for sustainable integration.
"""
summary = summarizer(text, max_length=60, min_length=25, do_sample=False)
print(summary[0]['summary_text'])
- Downloads last month
- 48
Model tree for onnx-community/Text-Summarizer-t5-small-ONNX
Base model
UX4567/Text-Summarizer-t5-small