Skip to main content

Explainable Leaderboards for Natural Language Processing

Project description

ExplainaBoard SDK

Reconstruct ExplainaBoard into OOP Version

Installation

  • for SDK users: pip install explainaboard
  • for SDK developers: clone repo and run pip install . inside the repo
    • use pip install -e .for developer install. This is only useful in certain situations. Please see python documentation for this option.

How to use SDK

from explainaboard import TaskType, get_loader, get_processor

path_data = "./explainaboard/tests/artifacts/test-summ.tsv"
loader = get_loader(TaskType.summarization, data = path_data)
data = loader.load()
processor = get_processor(TaskType.summarization, data = data)
analysis = processor.process()
analysis.write_to_directory("./")

Existing Support More

  • TaskType.text_classification
    • FileType.tsv
  • TaskType.named_entity_recognition
    • FileType.conll
  • TaskType.summarization
    • FileType.tsv
  • TaskType.extractive_qa
    • FileType.json (same format with squad)

Project details


Release history Release notifications | RSS feed

This version

0.4.1

Download files

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

Source Distribution

explainaboard-0.4.1.tar.gz (388.1 kB view hashes)

Uploaded Source

Built Distribution

explainaboard-0.4.1-py2.py3-none-any.whl (406.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