T5SummaryPratik


NameT5SummaryPratik JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/yourusername/T5SummaryPratik
SummaryA complete text summarization pipeline using T5 with evaluation metrics
upload_time2025-09-11 06:28:37
maintainerNone
docs_urlNone
authorPratik
requires_python>=3.8
licenseNone
keywords text summarization t5 nlp machine learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # T5SummaryPratik

A powerful text summarization library using T5 transformer model with built-in evaluation metrics.

## Installation

```bash
pip install T5SummaryPratik
```

## Features

- Text summarization using T5 transformer model
- Multiple evaluation metrics:
  - ROUGE scores
  - Readability metrics
  - Text statistics
- Easy to use API
- Customizable parameters

## Quick Start

```python
from T5SummaryPratik import T5Summarizer

# Initialize the summarizer
summarizer = T5Summarizer()

# Example text
text = """
Your long text here that needs to be summarized.
This can be multiple paragraphs long.
"""

# Generate summary
summary = summarizer.summarize(text)
print(summary)

# Get summary with evaluation metrics
summary_with_metrics = summarizer.summarize_with_metrics(text)
print(f"Summary: {summary_with_metrics['summary']}")
print(f"ROUGE scores: {summary_with_metrics['metrics']['rouge']}")
print(f"Readability score: {summary_with_metrics['metrics']['readability']}")
```

## Advanced Usage

See [example_usage.py](example_usage.py) for more advanced usage examples.

## Requirements

- Python >= 3.8
- PyTorch
- Transformers
- NLTK
- Evaluate
- Textstat

## License

MIT License

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/T5SummaryPratik",
    "name": "T5SummaryPratik",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "text summarization, t5, nlp, machine learning",
    "author": "Pratik",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/93/2a/a0ea62b5b91bcc10a290e9c288e84f352435b0cfed32de6157705bcb877f/t5summarypratik-0.1.0.tar.gz",
    "platform": null,
    "description": "# T5SummaryPratik\r\n\r\nA powerful text summarization library using T5 transformer model with built-in evaluation metrics.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install T5SummaryPratik\r\n```\r\n\r\n## Features\r\n\r\n- Text summarization using T5 transformer model\r\n- Multiple evaluation metrics:\r\n  - ROUGE scores\r\n  - Readability metrics\r\n  - Text statistics\r\n- Easy to use API\r\n- Customizable parameters\r\n\r\n## Quick Start\r\n\r\n```python\r\nfrom T5SummaryPratik import T5Summarizer\r\n\r\n# Initialize the summarizer\r\nsummarizer = T5Summarizer()\r\n\r\n# Example text\r\ntext = \"\"\"\r\nYour long text here that needs to be summarized.\r\nThis can be multiple paragraphs long.\r\n\"\"\"\r\n\r\n# Generate summary\r\nsummary = summarizer.summarize(text)\r\nprint(summary)\r\n\r\n# Get summary with evaluation metrics\r\nsummary_with_metrics = summarizer.summarize_with_metrics(text)\r\nprint(f\"Summary: {summary_with_metrics['summary']}\")\r\nprint(f\"ROUGE scores: {summary_with_metrics['metrics']['rouge']}\")\r\nprint(f\"Readability score: {summary_with_metrics['metrics']['readability']}\")\r\n```\r\n\r\n## Advanced Usage\r\n\r\nSee [example_usage.py](example_usage.py) for more advanced usage examples.\r\n\r\n## Requirements\r\n\r\n- Python >= 3.8\r\n- PyTorch\r\n- Transformers\r\n- NLTK\r\n- Evaluate\r\n- Textstat\r\n\r\n## License\r\n\r\nMIT License\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please feel free to submit a Pull Request.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A complete text summarization pipeline using T5 with evaluation metrics",
    "version": "0.1.0",
    "project_urls": {
        "Bug Reports": "https://github.com/yourusername/T5SummaryPratik/issues",
        "Homepage": "https://github.com/yourusername/T5SummaryPratik",
        "Source": "https://github.com/yourusername/T5SummaryPratik"
    },
    "split_keywords": [
        "text summarization",
        " t5",
        " nlp",
        " machine learning"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "932aa0ea62b5b91bcc10a290e9c288e84f352435b0cfed32de6157705bcb877f",
                "md5": "9a0a8584bc8c0582fd6d4ca550608e19",
                "sha256": "0eb764db78f5e04aa920e0b0c4cc6352c1cb558c68cb6d293ef94d2cfcb604b9"
            },
            "downloads": -1,
            "filename": "t5summarypratik-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9a0a8584bc8c0582fd6d4ca550608e19",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10040,
            "upload_time": "2025-09-11T06:28:37",
            "upload_time_iso_8601": "2025-09-11T06:28:37.069455Z",
            "url": "https://files.pythonhosted.org/packages/93/2a/a0ea62b5b91bcc10a290e9c288e84f352435b0cfed32de6157705bcb877f/t5summarypratik-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-11 06:28:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "T5SummaryPratik",
    "github_not_found": true,
    "lcname": "t5summarypratik"
}
        
Elapsed time: 3.41583s