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.5.tar.gz
(3.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evalda_pub2-0.0.5.tar.gz.
File metadata
- Download URL: evalda_pub2-0.0.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f7e4db4796a7f8e576dff9753e9f5dadd155be8e18d96383bac7331dd1b10c
|
|
| MD5 |
557a30c4985d3629cfcd033975174992
|
|
| BLAKE2b-256 |
5fd891c256c0bdac5041d4f2a3a4b8e1654f7fd1b79d53d40a6b9fc0b7e878ed
|
File details
Details for the file evalda_pub2-0.0.5-py3-none-any.whl.
File metadata
- Download URL: evalda_pub2-0.0.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2650eff3f6e85e6408426bd3947f9a03fbea859aa5db6c3fa3cfcc50686f5c0
|
|
| MD5 |
e74ae91dfe60bf8bf9cd33acc6eabdf9
|
|
| BLAKE2b-256 |
4af88c0656eb3ba82b974a1c2916306bf22352f1a448c9f8406a6fdd57b77696
|