Link Search Menu Expand Document

Eevee

GitHub Workflow Status

eevee is a set of standard evaluation utilities for problems that we work on at Skit.

You can use eevee both as a python module or as a CLI tool. It works on data files with label structures from dataframes that has standard datatype definitions. See ./data directory for example files.

Installation

For now, you have to install eevee using Github release URLs. The current version can be installed by using the following:

pip install https://github.com/skit-ai/eevee/releases/download/1.3.0/eevee-1.3.0-py3-none-any.whl

With poetry

poetry add "git+https://github.com/skit-ai/eevee.git@1.3.0"

or directly add this in pyproject.toml

[tool.poetry.dependencies]
eevee = {git = "https://github.com/skit-ai/eevee.git", rev = "1.3.0"}

Usage

Once installed, the most common usage pattern involves passing a reference and predicted label dataframes and get report either for human viewing, or get a json for further machine consumption. Here is how you use it for intents:

eevee intent ./tagged.intent.csv ./predicted.intent.csv

Similarly, for WER report you can do this:

eevee asr ./data/tagged.transcriptions.csv ./data/predicted.transcriptions.csv
               Value     Support
Metric
WER            0.571429        6
Utterance FPR  0.500000        2
Utterance FNR  0.250000        4

There are a few advanced unexposed metrics related to ASR. Since they are still work in progress, we have kept a few dependencies from there as extras. If you need those, you should install the package in development mode and do poetry install -E asr. Then follow the scripts in ./scripts.