Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
Russian
Size:
10K<n<100K
License:
Move metadata to card YAML tags and compress data
#3
by albertvillanova HF Staff - opened
Files changed (9)
- README.md+29
- collection3.py+10-18
- data/test.txtDeleted
- data/test.txt.gzAdded+3
- data/train.txtDeleted
- data/train.txt.gzAdded+3
- data/valid.txtDeleted
- data/valid.txt.gzAdded+3
- dataset_infos.jsonDeleted-1
17 unmodified lines18192021222317 unmodified lines- token-classificationtask_ids:- named-entity-recognition---# Dataset Card for Collection317 unmodified lines181920212223242526272829303132333435363738394041424344454647484950515217 unmodified lines- token-classificationtask_ids:- named-entity-recognitiondataset_info:features:- name: iddtype: string- name: tokenssequence: string- name: ner_tagssequence:class_label:names:0: O1: B-PER2: I-PER3: B-ORG4: I-ORG5: B-LOC6: I-LOCsplits:- name: testnum_bytes: 935298num_examples: 1922- name: trainnum_bytes: 4380588num_examples: 9301- name: validationnum_bytes: 1020711num_examples: 2153download_size: 878777dataset_size: 6336597---# Dataset Card for Collection3
7 unmodified lines891011121315 unmodified lines2930313233343536373839404142434445464 unmodified lines5152535455565758596061626364656667686970717273747576777 unmodified lineslogger = datasets.logging.get_logger(__name__)_CITATION = """\@inproceedings{mozharova-loukachevitch-2016-two-stage-russian-ner,author={Mozharova, Valerie and Loukachevitch, Natalia},15 unmodified lines"""_URLS = {"train": os.path.join("data", "train.txt"),"dev": os.path.join("data", "valid.txt"),"test": os.path.join("data", "test.txt"),}class Collection3(datasets.GeneratorBasedBuilder):"""Collection3 dataset."""BUILDER_CONFIGS = [datasets.BuilderConfig(name="collection3", version=datasets.Version("1.0.0"), description=_DESCRIPTION)]def _info(self):return datasets.DatasetInfo(4 unmodified lines"tokens": datasets.Sequence(datasets.Value("string")),"ner_tags": datasets.Sequence(datasets.features.ClassLabel(names=["O","B-PER","I-PER","B-ORG","I-ORG","B-LOC","I-LOC",])),}),supervised_keys=None,homepage="http://labinform.ru/pub/named_entities/index.htm",citation=_CITATION,)def _split_generators(self, dl_manager):"""Returns SplitGenerators."""data_files = dl_manager.download(_URLS)return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_files["train"]}),7 unmodified lines891011121314151615 unmodified lines323334353637383940414243444546474 unmodified lines5253545556575859606162636465666768697 unmodified lineslogger = datasets.logging.get_logger(__name__)_HOMEPAGE = "http://labinform.ru/pub/named_entities/index.htm"_CITATION = """\@inproceedings{mozharova-loukachevitch-2016-two-stage-russian-ner,author={Mozharova, Valerie and Loukachevitch, Natalia},15 unmodified lines"""_URLS = {"train": os.path.join("data", "train.txt.gz"),"dev": os.path.join("data", "valid.txt.gz"),"test": os.path.join("data", "test.txt.gz"),}class Collection3(datasets.GeneratorBasedBuilder):"""Collection3 dataset."""VERSION = datasets.Version("1.0.0")def _info(self):return datasets.DatasetInfo(4 unmodified lines"tokens": datasets.Sequence(datasets.Value("string")),"ner_tags": datasets.Sequence(datasets.features.ClassLabel(names=["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-LOC", "I-LOC",])),}),homepage=_HOMEPAGE,citation=_CITATION,)def _split_generators(self, dl_manager):"""Returns SplitGenerators."""data_files = dl_manager.download_and_extract(_URLS)return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_files["train"]}),
123version https://git-lfs.github.com/spec/v1oid sha256:b9f53319ee71b7e8e1be03804dc2632cb81dba9c3e9cf0206e09ba5bde36fd76size 129594123version https://git-lfs.github.com/spec/v1oid sha256:864f3286fe014d15df7932e47e28a1c866c9e772f9acedcbd87b3f26fda10484size 605955123version https://git-lfs.github.com/spec/v1oid sha256:f0a59b427ea8d37745975b3ee3c1e5a3a4535125f62cd1fdc04c3f99d9e2695fsize 1432281{"collection3": {"description": "Collection3 is a Russian dataset for named entity recognition annotated with LOC (location), PER (person), and ORG (organization) tags.\n\nDataset is based on collection Persons-1000 originally containing 1000 news documents labeled only with names of persons.\nAdditional labels were added by Valerie Mozharova and Natalia Loukachevitch.\nConversion to the IOB2 format and splitting into train, validation and test sets was done by DeepPavlov team.\n\nFor more details see https://ieeexplore.ieee.org/document/7584769 and http://labinform.ru/pub/named_entities/index.htm\n", "citation": "@inproceedings{mozharova-loukachevitch-2016-two-stage-russian-ner,\n author={Mozharova, Valerie and Loukachevitch, Natalia},\n booktitle={2016 International FRUCT Conference on Intelligence, Social Media and Web (ISMW FRUCT)},\n title={Two-stage approach in Russian named entity recognition},\n year={2016},\n pages={1-6},\n doi={10.1109/FRUCT.2016.7584769}}\n", "homepage": "http://labinform.ru/pub/named_entities/index.htm", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 7, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-LOC", "I-LOC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "collection3", "config_name": "collection3", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4380572, "num_examples": 9301, "dataset_name": "collection3"}, "validation": {"name": "validation", "num_bytes": 1020695, "num_examples": 2153, "dataset_name": "collection3"}, "test": {"name": "test", "num_bytes": 935282, "num_examples": 1922, "dataset_name": "collection3"}}, "download_checksums": {}, "download_size": 0, "post_processing_size": null, "dataset_size": 6336549, "size_in_bytes": 6336549}}README.md+29
collection3.py+10-18
data/test.txtDeleted
data/test.txt.gzAdded+3
data/train.txtDeleted
data/train.txt.gzAdded+3
data/valid.txtDeleted
data/valid.txt.gzAdded+3
dataset_infos.jsonDeleted-1