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

Uploaded Source

Built Distribution

explainaboard-0.4.1-py2.py3-none-any.whl (406.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file explainaboard-0.4.1.tar.gz.

File metadata

  • Download URL: explainaboard-0.4.1.tar.gz
  • Upload date:
  • Size: 388.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for explainaboard-0.4.1.tar.gz
Algorithm Hash digest
SHA256 79881a77336d37b1b56e95a22d5734646cf8d1ff49b7311fff2e1e60dc629f2b
MD5 cc3d174962706bf3074f66b8b17fbcc8
BLAKE2b-256 2c027e4eff0dd96ba792b8eb753b9015b8863c248a7dcd04529d704f738be462

See more details on using hashes here.

File details

Details for the file explainaboard-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: explainaboard-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 406.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for explainaboard-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa1823d6136d3bc8acc4d4aafebb2aac2fe6520ea3a0cd28cc19d8474e01e34c
MD5 a7241fe8c8677d625ae27a0a4053f74f
BLAKE2b-256 c94eb45e5cf36c364b60556636a460deee63b99ad21f0a60addc34503b5f13ad

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