Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
7cc428d
added a check when context is '-'
RakshitKhajuria Jun 7, 2023
f7c795b
supports custom proportions for augument
chakravarthik27 Jun 7, 2023
942f319
updated custom_props to custom_proportions
chakravarthik27 Jun 8, 2023
2299904
testcases added
chakravarthik27 Jun 8, 2023
2709983
Load custom data
Prikshit7766 Jun 8, 2023
90ab974
country_economic_bias
Prikshit7766 Jun 8, 2023
59dedf7
load custom data for relegion bias
RakshitKhajuria Jun 8, 2023
ab0a1b9
load custom data for Gender bias
Prikshit7766 Jun 8, 2023
e9fe4b2
Restructure Quac dataset
Prikshit7766 Jun 8, 2023
7a73157
prompt update
Prikshit7766 Jun 8, 2023
691c17a
Some Valiadtion check
Prikshit7766 Jun 8, 2023
aa19975
updated func names
RakshitKhajuria Jun 8, 2023
f846e4e
updated __init__.py
RakshitKhajuria Jun 8, 2023
ff1f8fd
Merge pull request #507 from JohnSnowLabs/fix/context-issue
ArshaanNazir Jun 9, 2023
1d9f055
Merge pull request #506 from JohnSnowLabs/feature/control-augmentatio…
ArshaanNazir Jun 9, 2023
591d3f5
new file custom_bias
Prikshit7766 Jun 9, 2023
1f53c21
restructue custom_bias.py
RakshitKhajuria Jun 9, 2023
a834a35
duplicate values check
Prikshit7766 Jun 9, 2023
61da661
add compare_models method
ArshaanNazir Jun 9, 2023
d4adadd
correct path added
Prikshit7766 Jun 9, 2023
3b63fb5
refactor custom_bias.py
RakshitKhajuria Jun 9, 2023
ab4c2e5
support for HuggingFaceDataset
Prikshit7766 Jun 10, 2023
ed79d8f
updated HuggingFaceDataset
RakshitKhajuria Jun 10, 2023
7b1b797
parameters added
Prikshit7766 Jun 10, 2023
1035ec4
refactor HuggingFaceDataset
RakshitKhajuria Jun 10, 2023
5e7279f
updated
Prikshit7766 Jun 10, 2023
729f371
custom_bias.py updated
Prikshit7766 Jun 12, 2023
a31fc18
updated data param to take dictionary
RakshitKhajuria Jun 12, 2023
4dc4d4c
updated
Prikshit7766 Jun 12, 2023
72bd5df
condtion updated
Prikshit7766 Jun 12, 2023
99c2b01
added append parameter
RakshitKhajuria Jun 12, 2023
addcded
custom_bias upadetd
Prikshit7766 Jun 12, 2023
3b3c51e
updated docstring and func
RakshitKhajuria Jun 12, 2023
baf9e20
updated model comparisons
ArshaanNazir Jun 13, 2023
e57cbb1
added test for hf dataset
RakshitKhajuria Jun 13, 2023
7a5b355
updated model in tests
RakshitKhajuria Jun 13, 2023
4118fd0
update compare model report
ArshaanNazir Jun 13, 2023
766ac0d
check for default values updated
Prikshit7766 Jun 13, 2023
a92abc8
updated
Prikshit7766 Jun 13, 2023
14b8a5d
runtime test implemented
chakravarthik27 Jun 14, 2023
3b55f4b
naming convention chnaged
Prikshit7766 Jun 14, 2023
7da7292
updated for remaining testfactory
chakravarthik27 Jun 14, 2023
29fa0cb
exception added for datasets
RakshitKhajuria Jun 14, 2023
fb61d90
add generated results feature for comparing models
alytarik Jun 14, 2023
65c3045
fixing error in augmentation
chakravarthik27 Jun 14, 2023
36ac805
add model compare feature to .testcases()
alytarik Jun 14, 2023
fbeb0e3
Merge pull request #509 from JohnSnowLabs/add-option-to-pass-custom-r…
ArshaanNazir Jun 14, 2023
fd9a908
Merge pull request #511 from JohnSnowLabs/add-support-for-hf-datasets…
ArshaanNazir Jun 14, 2023
7b5f898
Merge branch 'release/1.5.0' into features/model_comparisons
alytarik Jun 14, 2023
37dd5b3
reset index after concatting multiple model testcases and generated r…
alytarik Jun 14, 2023
38a756b
minor error fixed
chakravarthik27 Jun 14, 2023
0743ba4
HF dataset nb added
RakshitKhajuria Jun 14, 2023
da65d5d
model changed for testing hf load dataset
Prikshit7766 Jun 14, 2023
b53cd9b
time_elapsed column added in report df
chakravarthik27 Jun 14, 2023
1d6f29f
Merge pull request #517 from JohnSnowLabs/test/hf-load-dataset
ArshaanNazir Jun 14, 2023
55817e1
augmentation fixed
chakravarthik27 Jun 14, 2023
83e421a
Merge branch 'release/1.5.0' of https://github.com/JohnSnowLabs/nlpte…
RakshitKhajuria Jun 14, 2023
c5dab94
Custom Bias Demo
Prikshit7766 Jun 14, 2023
de513be
quac dataset updated
Prikshit7766 Jun 14, 2023
00f7311
Merge pull request #514 from JohnSnowLabs/features/model_comparisons
ArshaanNazir Jun 14, 2023
bd34dc4
Merge pull request #518 from JohnSnowLabs/Docs/nb-docs-update
ArshaanNazir Jun 14, 2023
aba098b
Merge branch 'release/1.5.0' into feature/add-runtime-tests
ArshaanNazir Jun 14, 2023
3e5206a
prompt changed
Prikshit7766 Jun 14, 2023
7130e72
Merge branch 'release/1.5.0' into feature/runtime
chakravarthik27 Jun 15, 2023
8437343
Merge pull request #515 from JohnSnowLabs/feature/add-runtime-tests
ArshaanNazir Jun 15, 2023
921cc95
Merge pull request #508 from JohnSnowLabs/Restructure-Quac-dataset
ArshaanNazir Jun 15, 2023
df67c47
update one-linner model comparison
ArshaanNazir Jun 15, 2023
647fb13
updates in description
ArshaanNazir Jun 15, 2023
531b6cc
updates in model-comparsions
ArshaanNazir Jun 15, 2023
6381362
update harness parameters
ArshaanNazir Jun 15, 2023
bd3813e
update data page
ArshaanNazir Jun 15, 2023
9bd3f5e
updates in harness and data pages
ArshaanNazir Jun 15, 2023
dba4351
adding HF datasets support on data page
ArshaanNazir Jun 15, 2023
7651fed
update package_data
ArshaanNazir Jun 15, 2023
219b206
Merge branch 'chore/website-_updates' of https://github.com/JohnSnowL…
ArshaanNazir Jun 15, 2023
e348ee8
add custom bias notebook to tutorials
ArshaanNazir Jun 15, 2023
61c8dee
Merge branch 'chore/website-_updates' of https://github.com/JohnSnowL…
ArshaanNazir Jun 15, 2023
766456c
add HuggingFaceDataset support nb
ArshaanNazir Jun 15, 2023
d7362a1
updated time unit in report()
chakravarthik27 Jun 15, 2023
9cc5ed2
updating in column name with unit
chakravarthik27 Jun 15, 2023
b627f76
support for hf dataset for jsl
RakshitKhajuria Jun 15, 2023
031401c
updating column name in report
chakravarthik27 Jun 15, 2023
9400b3a
fix buf for runtime tests
alytarik Jun 15, 2023
d159d04
Merge pull request #522 from JohnSnowLabs/fix/runtime-compare-conflict
ArshaanNazir Jun 15, 2023
c4fff20
update multi-model report for runtime test
ArshaanNazir Jun 15, 2023
bda540f
support of hf dataset for spacy default model
Prikshit7766 Jun 15, 2023
1e5ab64
update report
ArshaanNazir Jun 15, 2023
9748e6d
fix coloring
alytarik Jun 15, 2023
284b549
Merge pull request #523 from JohnSnowLabs/fix/runtime-compare-conflict
alytarik Jun 15, 2023
3651e27
Merge pull request #524 from JohnSnowLabs/fix/compare-models-reports-…
ArshaanNazir Jun 15, 2023
90366b6
update runtime report for cross model comparison
ArshaanNazir Jun 15, 2023
1ae8295
Merge pull request #521 from JohnSnowLabs/feature/support-of-hf-datas…
ArshaanNazir Jun 15, 2023
d716bf6
Merge remote-tracking branch 'origin/release/1.5.0' into feature/add-…
ArshaanNazir Jun 15, 2023
00aa96e
Merge pull request #519 from JohnSnowLabs/chore/website-_updates
ArshaanNazir Jun 15, 2023
5c94d8d
Merge pull request #520 from JohnSnowLabs/feature/add-runtime-tests
ArshaanNazir Jun 15, 2023
9a0a349
augmentation notebook ready
chakravarthik27 Jun 16, 2023
0469662
notebooks added
chakravarthik27 Jun 16, 2023
182412e
update Real-world-custom pipeline
ArshaanNazir Jun 16, 2023
d180700
Merge pull request #525 from JohnSnowLabs/feature/add-runtime-tests
ArshaanNazir Jun 16, 2023
3301a93
add compare models nb
alytarik Jun 16, 2023
5f9c7f1
add open in colab badge
alytarik Jun 16, 2023
b6aafc6
remove rc from installation
ArshaanNazir Jun 16, 2023
1348957
updated colab links
chakravarthik27 Jun 16, 2023
821bc41
updated description in nb
chakravarthik27 Jun 16, 2023
6ff4c84
update tutorial nbs
ArshaanNazir Jun 16, 2023
524a257
Merge branch 'add_tutorial_nbs' of https://github.com/JohnSnowLabs/nl…
ArshaanNazir Jun 16, 2023
6a0b984
updated runtime desc
chakravarthik27 Jun 16, 2023
ac54910
update colab links
ArshaanNazir Jun 16, 2023
819f8f6
Merge branch 'add_tutorial_nbs' of https://github.com/JohnSnowLabs/nl…
ArshaanNazir Jun 16, 2023
a5d8fd2
updated links in nb and added nbs in website
RakshitKhajuria Jun 16, 2023
5f323ab
updated data.md
RakshitKhajuria Jun 16, 2023
2a94bc2
updated library for Comparing Models in tutorials.md
RakshitKhajuria Jun 16, 2023
63d16c4
updated website for Custom Bias
Prikshit7766 Jun 16, 2023
751ed42
Merge branch 'add_tutorial_nbs' of https://github.com/JohnSnowLabs/nl…
Prikshit7766 Jun 16, 2023
350d70c
augmentation nb
chakravarthik27 Jun 16, 2023
6804dd4
update link
ArshaanNazir Jun 16, 2023
b5e36bd
rename nb
chakravarthik27 Jun 16, 2023
bb3fdae
Merge branch 'add_tutorial_nbs' of https://github.com/JohnSnowLabs/nl…
chakravarthik27 Jun 16, 2023
003394a
updated link nb
chakravarthik27 Jun 16, 2023
a32a16a
Merge pull request #526 from JohnSnowLabs/add_tutorial_nbs
ArshaanNazir Jun 16, 2023
5f2314f
update setup and meta.yaml
ArshaanNazir Jun 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set name = "nlptest" %}
{% set version = "1.4.0" %}
{% set version = "1.5.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/nlptest-{{ version }}.tar.gz
sha256: e2e28f9c3d0f35e3e3c07bebadb25b52fdd4f22e8ff4939d343cb68d4984d8ff
sha256: 556ac72ef3e8a1c1851bbfe8d22e4312f01e7607d6d3a44775279766744ff9e2

build:
number: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"id": "lTzSJpMlhgq5"
},
Expand All @@ -105,11 +105,11 @@
"<br/>\n",
"\n",
"\n",
"| Parameter | Description | \n",
"| - | - | \n",
"| Parameter | Description |\n",
"| - | - |\n",
"|**task** |Task for which the model is to be evaluated (text-classification or ner)|\n",
"|**model** |PipelineModel or path to a saved model or pretrained pipeline/model from hub.\n",
"|**data** |Path to the data that is to be used for evaluation. Can be .csv or .conll file in the CoNLL format \n",
"|**data** |Path to the data that is to be used for evaluation. Can be .csv or .conll file in the CoNLL format\n",
"|**config** |Configuration for the tests to be performed, specified in form of a YAML file.\n",
"|**hub** |model hub to load from the path. Required if model param is passed as path.|\n",
"\n",
Expand Down Expand Up @@ -142,7 +142,7 @@
"\n",
"2. Test NER model robustness on CoNLL test set\n",
"\n",
"3. Augment CoNLL training set based on test results \n",
"3. Augment CoNLL training set based on test results\n",
"\n",
"4. Train new NER model on augmented CoNLL training set\n",
"\n",
Expand Down Expand Up @@ -186,7 +186,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -214,7 +214,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -268,7 +268,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -315,7 +315,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -351,7 +351,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -399,7 +399,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {
"id": "RVk9NWn7u-Lm"
},
Expand All @@ -410,7 +410,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand All @@ -436,9 +436,9 @@
"harness.configure({\n",
" 'tests': {\n",
" 'defaults': {'min_pass_rate': 0.65},\n",
" \n",
"\n",
" 'robustness': {\n",
" 'lowercase': {'min_pass_rate': 0.60}, \n",
" 'lowercase': {'min_pass_rate': 0.60},\n",
" 'uppercase':{'min_pass_rate': 0.60}\n",
" }\n",
" }\n",
Expand Down Expand Up @@ -468,7 +468,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -508,7 +508,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
Expand Down Expand Up @@ -791,7 +791,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"metadata": {
"id": "XYIMxVN8GFGH"
},
Expand All @@ -811,7 +811,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -851,7 +851,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
Expand Down Expand Up @@ -1162,7 +1162,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
Expand Down Expand Up @@ -1345,7 +1345,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -1387,7 +1387,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -1440,7 +1440,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -1478,7 +1478,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -1514,7 +1514,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand Down Expand Up @@ -1571,7 +1571,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand All @@ -1589,7 +1589,7 @@
}
],
"source": [
"harness = Harness.load(\"saved_test_configurations\",model=ner_model_2)"
"harness = Harness.load(\"saved_test_configurations\",model=ner_model_2, task=\"ner\")"
]
},
{
Expand All @@ -1603,7 +1603,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
Expand Down Expand Up @@ -1782,14 +1782,40 @@
"We can see that after augmentation, both tests are performing better than earlier."
]
},
{
"cell_type": "markdown",
"source": [
"# Comparison Table ( Normal V/S Augmented Model )"
],
"metadata": {
"id": "APU3YhhLc1hH"
}
},
{
"cell_type": "markdown",
"source": [
"| Model | Category | Test_Type | Fail_Count | Pass_Count | Pass_Rate | Minimum_Pass_Rate | Pass |\n",
"|------------------|------------|-----------|------------|------------|-----------|-------------------|-------|\n",
"| Initial_Model | Robustness | Lowercase | 198 | 28 | 12% | 60% | False |\n",
"| | | | | | | | |\n",
"| Initial_Model | Robustness | Uppercase | 83 | 143 | 63% | 60% | True |\n",
"| | | | | | | | |\n",
"| Augmented_Model | Robustness | Lowercase | 31 | 195 | 86% | 60% | True |\n",
"| | | | | | | | |\n",
"| Augmented_Model | Robustness | Uppercase | 39 | 187 | 83% | 60% | True |\n"
],
"metadata": {
"id": "ooTBisOrdR7g"
}
},
{
"cell_type": "code",
"execution_count": 24,
"source": [],
"metadata": {
"id": "HQgkz0tOFuDV"
"id": "u007fehpdSRl"
},
"outputs": [],
"source": []
"execution_count": null,
"outputs": []
}
],
"metadata": {
Expand All @@ -1807,4 +1833,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
1,880 changes: 1,880 additions & 0 deletions demo/tutorials/misc/Augementation_Control_Notebook.ipynb

Large diffs are not rendered by default.

2,904 changes: 2,904 additions & 0 deletions demo/tutorials/misc/Comparing_Models_Notebook.ipynb

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions demo/tutorials/misc/HuggingFace_Dataset_Notebook.ipynb

Large diffs are not rendered by default.

1,506 changes: 1,506 additions & 0 deletions demo/tutorials/misc/RuntimeTest_Notebook.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

45 changes: 41 additions & 4 deletions docs/pages/docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ modify_date: "2019-05-16"

<div class="main-docs" markdown="1"><div class="h3-box" markdown="1">

Supported data input formats are task-dependent. For `ner` and `text-classification`, the user is meant to provide a **`CoNLL`** or **`CSV`** dataset. For `question-answering` the user is meant to choose from a list of benchmark datasets.
Supported data input formats are task-dependent. For `ner` and `text-classification`, the user is meant to provide a **`CoNLL`** or **`CSV`** dataset. For `question-answering`, `summarization` and `toxicity` the user is meant to choose from a list of benchmark datasets we support.

{:.table2}
| Task | Supported Data Inputs |
| - | - |
|**ner** |CoNLL and CSV|
|**text-classification** |CSV
|**text-classification** |CSV or a Dictionary (containing the name, subset, split, feature_column and target_column for loading the HF dataset.)
|**question-answering** |Select list of benchmark datasets
|**summarization** |Select list of benchmark datasets
|**toxicity** |Select list of benchmark datasets

</div><div class="h3-box" markdown="1">

Expand Down Expand Up @@ -69,7 +70,7 @@ harness = Harness(task='ner',

### Text Classification

There is 1 option for datasets to test Text Classification models: **`CSV`** datasets. Here are some details of what these may look like:
There are 2 options for datasets to test Text Classification models: **`CSV`** datasets or a **`Dictionary`** containing the name, subset, split, feature_column and target_column for loading the HF datasets. Here are some details of what these may look like:

#### CSV Format for Text Classification

Expand All @@ -90,7 +91,7 @@ For `CSV` files, we support different variations of the column names. They are s

</div><div class="h3-box" markdown="1">

#### Passing a Text Classification Dataset to the Harness
#### Passing a CSV Text Classification Dataset to the Harness

In the Harness, we specify the data input in the following way:

Expand All @@ -107,6 +108,42 @@ harness = Harness(task='text-classification',

</div><div class="h3-box" markdown="1">

#### Dictionary Format for Text Classification
To handle text classification task for Hugging Face Datasets, the Harness class accepts the data parameter as a dictionary with following attributes:

<i class="fa fa-info-circle"></i>
<em>It's important to note that the default values for the **`split`**, **`feature_column`**, and **`target_column`** attributes are **`test`**, **`text`**, and **`label`**, respectively.</em>

```python
{
"name": "",
"subset": "",
"feature_column": "",
"target_column": "",
"split": ""
}
```

#### Passing a Hugging Face Dataset for Text Classification to the Harness

In the Harness, we specify the data input in the following way:

```python
# Import Harness from the nlptest library
from nlptest import Harness

harness = Harness(task="text-classification", hub="huggingface",
model="distilbert-base-uncased-finetuned-sst-2-english",
data={"name":'glue',
"subset":"sst2",
"feature_column":"sentence",
"target_column":'label',
"split":"train"
})
```

</div><div class="h3-box" markdown="1">

### Question Answering

To test Question Answering models, the user is meant to select a benchmark dataset from the following list:
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/docs/harness.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Here is a list of the different parameters that can be passed to the `Harness` c
| Parameter | Description |
| - | - |
|**task** |Task for which the model is to be evaluated ('text-classification', 'question-answering', 'ner')|
|**model** |Pretrained pipeline or model from the corresponding hub, or path to a saved model from the corresponding hub, or PipelineModel object - see [Model Input](https://nlptest.org/docs/pages/docs/model_input) for more details
|**model** |Pretrained pipeline or model from the corresponding hub, or path to a saved model from the corresponding hub, or PipelineModel object or a dictionary containing the names of the models you want to compare, each paired with its respective hub - see [Model Input](https://nlptest.org/docs/pages/docs/model_input) for more details
|**hub** |Hub (library) to use in back-end for loading model from public models hub or from path|
|**data** |Path to the data to be used for evaluation. Should be `.csv` for text classification, or `.conll` or `.txt` file in CoNLL format for NER - see [Data Input](https://nlptest.org/docs/pages/docs/data_input) for more details
|**data** |Path to the data to be used for evaluation. Should be `.csv` or a dictionary containing the name, subset, split, feature_column and target_column for loading the HF dataset for text classification, or `.conll` or `.txt` file in CoNLL format for NER - see [Data Input](https://nlptest.org/docs/pages/docs/data_input) for more details
|**config** |Path to the YAML file with configuration of tests to be performed

</div></div>
Loading