persian_ner

Использованная литература:

сложить1

Используйте следующую команду, чтобы загрузить этот набор данных в TFDS:

ds = tfds.load('huggingface:persian_ner/fold1')
  • Описание :
The dataset includes 250,015 tokens and 7,682 Persian sentences in total. It is available in 3 folds to be used in turn as training and test sets. The NER tags are in IOB format.
  • Лицензия : Международная лицензия Creative Commons Attribution 4.0.
  • Версия : 1.1.0
  • Расколы :
Расколоть Примеры
'test' 2560
'train' 5121
  • Функции :
{
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 13,
            "names": [
                "O",
                "I-event",
                "I-fac",
                "I-loc",
                "I-org",
                "I-pers",
                "I-pro",
                "B-event",
                "B-fac",
                "B-loc",
                "B-org",
                "B-pers",
                "B-pro"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

сложить2

Используйте следующую команду, чтобы загрузить этот набор данных в TFDS:

ds = tfds.load('huggingface:persian_ner/fold2')
  • Описание :
The dataset includes 250,015 tokens and 7,682 Persian sentences in total. It is available in 3 folds to be used in turn as training and test sets. The NER tags are in IOB format.
  • Лицензия : Международная лицензия Creative Commons Attribution 4.0.
  • Версия : 1.1.0
  • Расколы :
Расколоть Примеры
'test' 2561
'train' 5120
  • Функции :
{
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 13,
            "names": [
                "O",
                "I-event",
                "I-fac",
                "I-loc",
                "I-org",
                "I-pers",
                "I-pro",
                "B-event",
                "B-fac",
                "B-loc",
                "B-org",
                "B-pers",
                "B-pro"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

сложить3

Используйте следующую команду, чтобы загрузить этот набор данных в TFDS:

ds = tfds.load('huggingface:persian_ner/fold3')
  • Описание :
The dataset includes 250,015 tokens and 7,682 Persian sentences in total. It is available in 3 folds to be used in turn as training and test sets. The NER tags are in IOB format.
  • Лицензия : Международная лицензия Creative Commons Attribution 4.0.
  • Версия : 1.1.0
  • Расколы :
Расколоть Примеры
'test' 2560
'train' 5121
  • Функции :
{
    "tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "ner_tags": {
        "feature": {
            "num_classes": 13,
            "names": [
                "O",
                "I-event",
                "I-fac",
                "I-loc",
                "I-org",
                "I-pers",
                "I-pro",
                "B-event",
                "B-fac",
                "B-loc",
                "B-org",
                "B-pers",
                "B-pro"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}