|
|
--- |
|
|
pretty_name: Generic CoNLL |
|
|
--- |
|
|
|
|
|
# Generic ConLL |
|
|
|
|
|
Load ConLL formated files using `datasets.load_dataset`. |
|
|
|
|
|
## Usage |
|
|
Use explicitly the keyword argument `data_files`. |
|
|
|
|
|
```python |
|
|
from datasets import load_dataset |
|
|
|
|
|
load_dataset("eduagarcia/generic_conll", data_files="https://raw.githubusercontent.com/peluz/lener-br/master/leNER-Br/train/train.conll") |
|
|
``` |
|
|
|
|
|
or |
|
|
|
|
|
```python |
|
|
from datasets import load_dataset |
|
|
|
|
|
load_dataset("eduagarcia/generic_conll", data_files={ |
|
|
"train": "https://raw.githubusercontent.com/peluz/lener-br/master/leNER-Br/train/train.conll", |
|
|
"dev": "https://raw.githubusercontent.com/peluz/lener-br/master/leNER-Br/dev/dev.conll", |
|
|
"test": "https://raw.githubusercontent.com/peluz/lener-br/master/leNER-Br/test/test.conll", |
|
|
}, |
|
|
separator=" ", |
|
|
tag_index=-1 |
|
|
) |
|
|
``` |