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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file evalda_pub2-0.0.7.tar.gz.

File metadata

  • Download URL: evalda_pub2-0.0.7.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.7 Darwin/21.6.0

File hashes

Hashes for evalda_pub2-0.0.7.tar.gz
Algorithm Hash digest
SHA256 40ea93eed68b216dedca2403cd0e198e2b47cb42308ff2eb9ab1acf5def8f0cc
MD5 04179133c31c72f327cc174b1d0be946
BLAKE2b-256 089ea2c05db5846f7c4f2d66565c2ca7a7302fc8e1d5d749f66aa22fa8ba2293

See more details on using hashes here.

File details

Details for the file evalda_pub2-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: evalda_pub2-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.7 Darwin/21.6.0

File hashes

Hashes for evalda_pub2-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3acaf20964f374f8943f38634d73ad89f9dfcc2f61951ac81e33e922e3526354
MD5 838b7a8e27c98b465b0dff87debfd724
BLAKE2b-256 368b500526ffcbeb001c4482b41e082742219deab33262b29b55a423c86e6751

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page