Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,81 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
dataset_info:
|
| 4 |
-
features:
|
| 5 |
-
- name: text
|
| 6 |
-
dtype: string
|
| 7 |
-
- name: label
|
| 8 |
-
dtype: string
|
| 9 |
-
splits:
|
| 10 |
-
- name: train
|
| 11 |
-
num_bytes: 10012894
|
| 12 |
-
num_examples: 10000
|
| 13 |
-
- name: test
|
| 14 |
-
num_bytes: 10232963
|
| 15 |
-
num_examples: 10000
|
| 16 |
-
download_size: 11473381
|
| 17 |
-
dataset_size: 20245857
|
| 18 |
-
configs:
|
| 19 |
-
- config_name: default
|
| 20 |
-
data_files:
|
| 21 |
-
- split: train
|
| 22 |
-
path: data/train-*
|
| 23 |
-
- split: test
|
| 24 |
-
path: data/test-*
|
| 25 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
dataset_info:
|
| 4 |
+
features:
|
| 5 |
+
- name: text
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: label
|
| 8 |
+
dtype: string
|
| 9 |
+
splits:
|
| 10 |
+
- name: train
|
| 11 |
+
num_bytes: 10012894
|
| 12 |
+
num_examples: 10000
|
| 13 |
+
- name: test
|
| 14 |
+
num_bytes: 10232963
|
| 15 |
+
num_examples: 10000
|
| 16 |
+
download_size: 11473381
|
| 17 |
+
dataset_size: 20245857
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train-*
|
| 23 |
+
- split: test
|
| 24 |
+
path: data/test-*
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# arXiv Abstracts Dataset
|
| 28 |
+
|
| 29 |
+
This dataset contains abstracts and primary categories from arXiv papers. It is organized for use with machine learning models, specifically in the Hugging Face format.
|
| 30 |
+
|
| 31 |
+
## Dataset Structure
|
| 32 |
+
|
| 33 |
+
The dataset is split into two parts: `train` and `test`. Each entry contains the following fields:
|
| 34 |
+
- `text`: The abstract of the arXiv paper.
|
| 35 |
+
- `label`: The primary category of the arXiv paper.
|
| 36 |
+
|
| 37 |
+
The dataset consists of a total of 20,000 entries, with 10,000 for training and 10,000 for testing. Each primary category includes 1,250 entries per split, making the dataset balanced across all categories.
|
| 38 |
+
|
| 39 |
+
## Categories
|
| 40 |
+
|
| 41 |
+
The dataset includes the following primary categories:
|
| 42 |
+
- Computer Science (`cs`)
|
| 43 |
+
- Economics (`econ`)
|
| 44 |
+
- Electrical Engineering and Systems Science (`eess`)
|
| 45 |
+
- Mathematics (`math`)
|
| 46 |
+
- Physics (`physics`)
|
| 47 |
+
- Quantitative Biology (`q-bio`)
|
| 48 |
+
- Quantitative Finance (`q-fin`)
|
| 49 |
+
- Statistics (`stat`)
|
| 50 |
+
|
| 51 |
+
## License
|
| 52 |
+
|
| 53 |
+
This dataset is shared under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. This allows others to share and adapt the dataset, even for commercial purposes, as long as they provide appropriate credit.
|
| 54 |
+
|
| 55 |
+
## Citation
|
| 56 |
+
|
| 57 |
+
If you use this dataset in your research, please cite arXiv and provide appropriate credit. Here is a suggested citation format:
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
@misc{arxiv-dataset,
|
| 61 |
+
author = {arXiv Authors},
|
| 62 |
+
title = {arXiv Abstracts Dataset},
|
| 63 |
+
year = {2024},
|
| 64 |
+
howpublished = {\url{https://arxiv.org}},
|
| 65 |
+
note = {Dataset shared under CC BY 4.0}
|
| 66 |
+
}
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## Dataset Creation
|
| 70 |
+
|
| 71 |
+
This dataset was created by using the arxiv library to query arXiv for papers across multiple categories. We fetched the abstracts and primary categories of these papers, sorted by relevance, and organized them into the Hugging Face dataset format.
|
| 72 |
+
|
| 73 |
+
## Usage
|
| 74 |
+
|
| 75 |
+
You can load the dataset using the `datasets` library in Python:
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
from datasets import load_dataset
|
| 79 |
+
|
| 80 |
+
dataset = load_dataset('Voice49/arXiv-Abstract-Label-20k')
|
| 81 |
+
```
|