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
Release history Release notifications | RSS feed
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)
Built Distribution
ecco-0.0.10-py2.py3-none-any.whl
(69.8 kB
view hashes)
Close
Hashes for ecco-0.0.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3b285dfa79456980aa4517af990b7483c0f1bd750b0e37bd9611b3f695adc85 |
|
MD5 | 3fa61f450a83f57a6e874fe728931b33 |
|
BLAKE2b-256 | c8817efac348cca213531c5e2ccc9d90b8c8496ee7f09d83a6a9ea6c904f7268 |