File size: 799 Bytes
1b33b56 f677956 231c14c f677956 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ---
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
)
``` |