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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file ecco-0.0.10.tar.gz.

File metadata

  • Download URL: ecco-0.0.10.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ecco-0.0.10.tar.gz
Algorithm Hash digest
SHA256 0a2d4771564eb105a30f3dba220cb2bda2782898db684f459b187a6a15fddb41
MD5 64ed09c41a219cf805dbc9bbb81c0615
BLAKE2b-256 ef69fcd2b6aae8bb78b5a85d86cdb281eec968b95571f6f0e12ffd608610b344

See more details on using hashes here.

Provenance

File details

Details for the file ecco-0.0.10-py2.py3-none-any.whl.

File metadata

  • Download URL: ecco-0.0.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 69.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ecco-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3b285dfa79456980aa4517af990b7483c0f1bd750b0e37bd9611b3f695adc85
MD5 3fa61f450a83f57a6e874fe728931b33
BLAKE2b-256 c8817efac348cca213531c5e2ccc9d90b8c8496ee7f09d83a6a9ea6c904f7268

See more details on using hashes here.

Provenance

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