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.
- use
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
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)
Built Distribution
Close
Hashes for explainaboard-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1823d6136d3bc8acc4d4aafebb2aac2fe6520ea3a0cd28cc19d8474e01e34c |
|
MD5 | a7241fe8c8677d625ae27a0a4053f74f |
|
BLAKE2b-256 | c94eb45e5cf36c364b60556636a460deee63b99ad21f0a60addc34503b5f13ad |