eduagarcia/generic_conll
收藏Hugging Face2024-02-03 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/eduagarcia/generic_conll
下载链接
链接失效反馈官方服务:
资源简介:
---
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
)
```
提供机构:
eduagarcia
原始信息汇总
Generic CoNLL
概述
Generic CoNLL 数据集用于加载 ConLL 格式的文件。
使用方法
使用 datasets.load_dataset 函数加载数据集时,需明确指定 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")
或者
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 )



