The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
text: string
entity: list<element: list<element: int64>>
child 0, element: list<element: int64>
child 0, element: int64
index: string
-- schema metadata --
pandas: '{"index_columns": ["index"], "column_indexes": [{"name": null, "' + 559
to
{'index': Value('string'), 'tokens': List(Value('string')), 'entity': List(List(Value('int32')))}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 220, in _generate_tables
yield Key(file_idx, batch_idx), self._cast_table(pa_table)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 156, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
text: string
entity: list<element: list<element: int64>>
child 0, element: list<element: int64>
child 0, element: int64
index: string
-- schema metadata --
pandas: '{"index_columns": ["index"], "column_indexes": [{"name": null, "' + 559
to
{'index': Value('string'), 'tokens': List(Value('string')), 'entity': List(List(Value('int32')))}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Error:"paperswithcode_id" with value "../paper/causality-extraction-based-on-self-attentive" fails to match the required pattern: /^[^/.]*$/
This repository integrates the SCITE extended SemEval 2010 Task 8 dataset into hf datasets. It is in conformance with SCITE's CC BY-NC 4.0 license. Please find the original dataset here. Please see the citations at the end of this README.
Usage
Causality Detection
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causality detection")
Causal Candidate Extraction
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causal candidate extraction")
Causality Identification
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causality identification")
Citations
The SCITE paper by Li et al., 2021:
@article{li:2021,
title = {Causality Extraction Based on Self-Attentive {{BiLSTM-CRF}} with Transferred Embeddings},
author = {Li, Zhaoning and Li, Qi and Zou, Xiaotian and Ren, Jiangtao},
year = {2021},
journal = {Neurocomputing},
volume = {423},
pages = {207--219},
doi = {10.1016/J.NEUCOM.2020.08.078}
}
SemEval 2010 Task 8 by Hendrickx et al., 2010 which SCITE builds upon:
@inproceedings{hendrickx:2010,
title = {{{SemEval-2010 Task}} 8: {{Multi-Way Classification}} of {{Semantic Relations}} between {{Pairs}} of {{Nominals}}},
shorttitle = {{{SemEval-2010 Task}} 8},
booktitle = {Proceedings of the 5th {{International Workshop}} on {{Semantic Evaluation}}, {{SemEval}}@{{ACL}} 2010, {{Uppsala University}}, {{Uppsala}}, {{Sweden}}, {{July}} 15-16, 2010},
author = {Hendrickx, Iris and Kim, Su Nam and Kozareva, Zornitsa and Nakov, Preslav and S{\'e}aghdha, Diarmuid {\'O} and Pad{\'o}, Sebastian and Pennacchiotti, Marco and Romano, Lorenza and Szpakowicz, Stan},
editor = {Erk, Katrin and Strapparava, Carlo},
year = {2010},
pages = {33--38},
publisher = {The Association for Computer Linguistics}
}
- Downloads last month
- 34