Skip to main content

A package for quantifying bias in Danish language models.

Project description

Getting started

The package can be found on pypi and can be installed using pip.

pip install evalda-pub2

Usage

Create a bias detector instance for evaluating ner model:

>>> from evalda-pub2 import Evaluator
 
>>> ev = Evaluator()

Generate ner output:

>>> output = ev.eval_ner(n=5, model_name = "saattrupdan/nbailab-base-ner-scandi", outstyle="condensed", outformat="csv")

Generate ner visualization: (currently non existing:)

>>> viz = ev.visualize(outformat="png")

Project details


Download files

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

Source Distribution

evalda_pub2-0.0.7.tar.gz (3.2 MB view hashes)

Uploaded Source

Built Distribution

evalda_pub2-0.0.7-py3-none-any.whl (3.2 MB view hashes)

Uploaded 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