Dataset Preview
Full Screen Viewer
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 25 new columns ({'only_check_args', 'log_dir', 'logger_levels', 'alsologtostderr', 'logtostderr', 'split_depth', 'verbosity', 'use_cprofile_for_profiling', 'helpxml', 'split_prop', 'pdb_post_mortem', 'seed', 'output_dir', 'helpshort', 'v', 'run_with_pdb', '?', 'profile_file', 'showprefixforinfo', 'stderrthreshold', 'run_with_profiling', 'helpfull', 'help', 'pdb', 'graph_file'}) and 5 missing columns ({'nodes', 'directed', 'links', 'graph', 'multigraph'}). This happened while the json dataset builder was generating data using hf://datasets/andylolu24/arxiv-ol/train_eval_split/train_test_split_flags.json (at revision 4e4142907a085ee488f6c697986d06098e5fd27d) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast logtostderr: bool alsologtostderr: bool log_dir: string v: int64 verbosity: int64 logger_levels: struct<> stderrthreshold: string showprefixforinfo: bool run_with_pdb: bool pdb_post_mortem: bool pdb: bool run_with_profiling: bool profile_file: null use_cprofile_for_profiling: bool only_check_args: bool graph_file: string output_dir: string split_depth: int64 split_prop: double seed: int64 ?: bool help: bool helpshort: bool helpfull: bool helpxml: bool to {'directed': Value(dtype='bool', id=None), 'multigraph': Value(dtype='bool', id=None), 'graph': {'root': Value(dtype='string', id=None)}, 'nodes': [{'title': Value(dtype='string', id=None), 'pages': [{'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'abstract': Value(dtype='string', id=None)}], 'id': Value(dtype='string', id=None)}], 'links': [{'source': Value(dtype='string', id=None), 'target': Value(dtype='string', id=None)}]} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1412, in compute_config_parquet_and_info_response parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet( File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 988, in stream_convert_to_parquet builder._prepare_split( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 25 new columns ({'only_check_args', 'log_dir', 'logger_levels', 'alsologtostderr', 'logtostderr', 'split_depth', 'verbosity', 'use_cprofile_for_profiling', 'helpxml', 'split_prop', 'pdb_post_mortem', 'seed', 'output_dir', 'helpshort', 'v', 'run_with_pdb', '?', 'profile_file', 'showprefixforinfo', 'stderrthreshold', 'run_with_profiling', 'helpfull', 'help', 'pdb', 'graph_file'}) and 5 missing columns ({'nodes', 'directed', 'links', 'graph', 'multigraph'}). This happened while the json dataset builder was generating data using hf://datasets/andylolu24/arxiv-ol/train_eval_split/train_test_split_flags.json (at revision 4e4142907a085ee488f6c697986d06098e5fd27d) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
directed
bool | multigraph
bool | graph
dict | nodes
list | links
list | logtostderr
bool | alsologtostderr
bool | log_dir
string | v
int64 | verbosity
int64 | logger_levels
dict | stderrthreshold
string | showprefixforinfo
bool | run_with_pdb
bool | pdb_post_mortem
bool | pdb
bool | run_with_profiling
bool | profile_file
null | use_cprofile_for_profiling
bool | only_check_args
bool | graph_file
string | output_dir
string | split_depth
int64 | split_prop
float64 | seed
int64 | ?
bool | help
bool | helpshort
bool | helpfull
bool | helpxml
bool |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
true | false | {
"root": "Main topic classifications"
} | [{"title":"Digital Libraries","pages":[{"id":"2001.00484","title":"Publishing computational research(...TRUNCATED) | [{"source":"cs","target":"cs.AI"},{"source":"cs","target":"cs.AR"},{"source":"cs","target":"cs.CC"},(...TRUNCATED) | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
true | false | {
"root": "Main topic classifications"
} | [{"title":"Main topic classifications","pages":[],"id":"Main topic classifications"},{"title":"Physi(...TRUNCATED) | [{"source":"Main topic classifications","target":"physics"},{"source":"Main topic classifications","(...TRUNCATED) | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | false | false | 1 | 1 | {} | info | true | false | false | false | false | null | true | false | out/data/arxiv/v2/train_test_split/train_graph.json | out/data/arxiv/v2/train_eval_split | 1 | 0.3 | 2 | false | false | false | false | false |
|
true | false | {
"root": "Main topic classifications"
} | [{"title":"Neurons and Cognition","pages":[{"id":"2001.00693","title":"A Brief Summary of EEG Artifa(...TRUNCATED) | [{"source":"math","target":"math.AC"},{"source":"math","target":"math.AG"},{"source":"math","target"(...TRUNCATED) | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
true | false | {
"root": "Main topic classifications"
} | [{"title":"Main topic classifications","pages":[],"id":"Main topic classifications"},{"title":"Physi(...TRUNCATED) | [{"source":"Main topic classifications","target":"physics"},{"source":"Main topic classifications","(...TRUNCATED) | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | false | false | 1 | 1 | {} | info | true | false | false | false | false | null | true | false | out/data/arxiv/v2/full/full_graph.json | out/data/arxiv/v2/train_test_split | 1 | 0.5 | 0 | false | false | false | false | false |
Wikipedia dataset from OLLM
Repository: https://github.com/andylolu2/ollm
- Train graph:
train_eval_split/train_graph.json
- Validation graph:
train_eval_split/test_graph.json
- Test graph:
train_test_split/test_graph.json
Load the graph with networkx
:
import networkx as nx
with open(path_to_graph, "r") as f:
G = nx.node_link_graph(json.load(f), edges="links")
- Downloads last month
- 27