transformers pytorch pegasus text2text-generation summarization en dataset:Kaludi/data-quick-summarization co2_eq_emissions autotrain_compatible endpoints_compatible region:us
---
datasets:
- Kaludi/data-quick-summarization
language:
- en
tags:
- summarization
widget:
- text: British Prime Minister Theresa May said on Friday she would continue to govern
    in the interests of all Northern Ireland and uphold the agreement that ended decades
    of sectarian violence in the province. The statement comes as an impasse over
    the future of the Irish border once Britain leaves the European Union looked to
    have been resolved. This Government will continue to govern in the interests of
    the whole community in Northern Ireland and uphold the Agreements that have underpinned
    the huge progress that has been made over the past two decades, a statement published
    on the government s website said.
  example_title: Example 1
- text: 'What is a paragraph? Paragraphs are the building blocks of papers. Many students
    define paragraphs in terms of length: a paragraph is a group of at least five
    sentences, a paragraph is half a page long, etc. In reality, though, the unity
    and coherence of ideas among sentences is what constitutes a paragraph. A paragraph
    is defined as “a group of sentences or a single sentence that forms a unit” (Lunsford
    and Connors 116). Length and appearance do not determine whether a section in
    a paper is a paragraph. For instance, in some styles of writing, particularly
    journalistic styles, a paragraph can be just one sentence long. Ultimately, a
    paragraph is a sentence or group of sentences that support one main idea. In this
    handout, we will refer to this as the “controlling idea,” because it controls
    what happens in the rest of the paragraph.'
  example_title: Example 2
co2_eq_emissions:
  emissions: 460.6785690944488
---

# Quick Summarization

This is a Text Summarization Model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to Transform long and complex texts into concise and meaningful summaries. Get a quick and accurate overview of any document in seconds, saving you time and effort.

### Gradio

Tis model supports a [Gradio](https://github.com/gradio-app/gradio) Web UI to run the data-food-classification model:
[![Open In HF Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/Kaludi/Quick-Summarizer_App)


## Validation Metrics

- Loss: 1.629
- Rouge1: 41.066
- Rouge2: 19.231
- RougeL: 28.295
- RougeLsum: 37.746
- Gen Len: 98.873

## Usage

You can use cURL to access this model:

```
$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/Kaludi/autotrain-quik-sum-3280991391
```