Skip to main content

Visualization tools for NLP machine learning models.

Project description

Ecco

Ecco is a python library for creating interactive visualizations for Natural Language Processing models.

It provides multiple interfaces to aid the explanation and intuition of Transformer-based language models.

Ecco runs inside Jupyter notebooks. It is built on top of pytorch and transformers.

  • Free software: BSD 3-Clause License

Installation

pip install ecco

Documentation

To use the project:

import ecco
lm = ecco.from_pretrained('distilgpt2')
text= "The countries of the European Union are:\n1. Austria\n2. Belgium\n3. Bulgaria\n4."

output = lm.generate(text, generate=20, do_sample=True)

Changelog

0.0.8 (2020-11-20)

  • Allowing the project some fresh air.

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

ecco-0.0.10.tar.gz (46.7 kB view hashes)

Uploaded Source

Built Distribution

ecco-0.0.10-py2.py3-none-any.whl (69.8 kB view hashes)

Uploaded Python 2 Python 3

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