Datasets:

ArXiv:
License:
Dataset Viewer
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ValueError
Message:      Not able to read records in the JSON file at hf://datasets/primer-ai/arxiv-negatives@34872ef4dd03aeecdc3a11e17471953db6b351f2/arxiv_10K_jsclosest.json.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 240, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2216, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1239, in _head
                  return _examples_to_batch(list(self.take(n)))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1389, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1044, in __iter__
                  yield from islice(self.ex_iterable, self.n)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 282, in __iter__
                  for key, pa_table in self.generate_tables_fn(**self.kwargs):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 165, in _generate_tables
                  raise ValueError(f"Not able to read records in the JSON file at {file}.") from None
              ValueError: Not able to read records in the JSON file at hf://datasets/primer-ai/arxiv-negatives@34872ef4dd03aeecdc3a11e17471953db6b351f2/arxiv_10K_jsclosest.json.

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.

Dataset Card for Dataset Name

This is a dataset of arxiv metadata (including Ids, titles, abstracts and categories) for creating triplets anchor-positive-negative for contrastive learning or evaluation. The dataset consists of 253140 samples, each sample is arxiv paper metadata, and the negatives of different levels of difficulty (21 levels).

Dataset Details

The dataset consists of 253140 samples, each sample is a tuple of two elements:

  1. An ARXIV paper metadata, including its Id, title and abstract and categories.
  2. List of 21 Ids of other ARXIV papers. The first 20 Ids are the papers that are 'closest' to the above paper, and sorted from the most to the least similar; the last 21st Id is an Id of a randomly selected paper (not coinciding with Id of the above paper).

The dataset is created from the mirror of arxiv (snapshot version 173) through the following steps:

  1. Identified all arxiv categories with a maximum size of 10K papers (i.e. arxiv preprints).
  2. Selected all papers that have at least one of the categories identified above. This is the subset of arxiv to deal with: manageably small, yet diverse.
  3. For each paper: 3.1. Sorted its categories by size, from smaller to larger. 3.2. Found all other papers that have the closest match by the categories (the closest match is the longest consecutive list of matched categories, starting from the first one). 3.3. Of the found papers, selected 20 closest by Jensen-Shannon distance between the abstracts, and sorted them by the distance. If there were were less than 20 papers, filled to 20 by the last one. 3.4. Added randomly selected paper as 21st.

For more details see: https://arxiv.org/pdf/2407.00923

Dataset Description

Each sample is a tuple, consisting of two elements.

First element is an arxiv paper, represented by dictionary, with keys: 'id', 'submitter', 'authors', 'title', 'comments', 'journal-ref', 'doi', 'report-no', 'categories', 'license', 'abstract', 'versions', 'update_date', 'authors_parsed'

Second element is a list of ids of negatives. The first 20 Ids are the papers that are 'closest' to the above paper, and sorted from the most to the least similar; the last 21st Id is an Id of a randomly selected paper.

  • Curated by: Oleg Vasilyev
  • License: cc-by-2.5

Dataset Sources [optional]

  • Repository: [More Information Needed]
  • Paper [optional]: "Preserving Multilingual Quality While Tuning Query Encoder on English Only", https://arxiv.org/pdf/2407.00923

Uses

The dataset was created and used in https://arxiv.org/pdf/2407.00923 for evaluating results of tuning query encoder.

Can be used for creating triplets anchor-positive-negative for contrastive learning or evaluation.

Dataset Structure

[More Information Needed]

Dataset Creation

Dataset creation is described in https://arxiv.org/pdf/2407.00923

Source Data

arxiv (snapshot version 173)

Citation [optional]

BibTeX:

@misc{vasilyev2024preservingmultilingualqualitytuning, title={Preserving Multilingual Quality While Tuning Query Encoder on English Only}, author={Oleg Vasilyev and Randy Sawaya and John Bohannon}, year={2024}, eprint={2407.00923}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2407.00923}, }

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

Dataset Card Authors [optional]

Oleg Vasilyev

Dataset Card Contact

[email protected]

[email protected]

Downloads last month
45