Skip to main content

T5 Summarisation Using Pytorch Lightning

Project description


title: t5s emoji: 💯 colorFrom: yellow colorTo: red sdk: streamlit app_file: src/visualization/visualize.py pinned: false

t5s

pypi Version Downloads Code style: black Streamlit App Open In Colab DAGSHub

T5 Summarisation Using Pytorch Lightning, DVC, DagsHub and HuggingFace Spaces

Here you will find the code for the project, but also the data, models, pipelines and experiments. This means that the project is easily reproducible on any machine, but also that you can contribute data, models, and code to it.

Have a great idea for how to improve the model? Want to add data and metrics to make it more explainable/fair? We'd love to get your help.

Installation

To use and run the DVC pipeline install the t5s package

pip install t5s

Usage

carbon (7)

Firstly we need to clone the repo containing the code so we can do that using:

t5s clone 

We would then have to create the required directories to run the pipeline

t5s dirs

Then we need to pull the models from DVC

t5s pull

Now to run the training pipeline we can run:

t5s run

Finally to push the model to DVC

t5s push

To push this model to HuggingFace Hub for inference you can run:

t5s upload

Next if we would like to test the model and visualise the results we can run:

t5s visualize

And this would create a streamlit app for testing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

t5s-2.0.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

t5s-2.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file t5s-2.0.0.tar.gz.

File metadata

  • Download URL: t5s-2.0.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for t5s-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d887ec2801c6259279994c1883d7c6b49df1ba7e593b68c89b21c7a59f2a4af3
MD5 0fc8c921bf6916345a9a7ee82185eed1
BLAKE2b-256 377357c3cbea9f019725729014cc679166c70b2f2001c3a9415c028fafe1221b

See more details on using hashes here.

File details

Details for the file t5s-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: t5s-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for t5s-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 247a74ad596a6951945bb10edcd671b575959c3260c5bebd66be31aebc0ef075
MD5 548085b27dc4c50965b6343a626c8103
BLAKE2b-256 910b3dc26834d023fb69c110431b90df268e37100257d6fd846262799f252596

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page