Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- arxiv
|
| 5 |
+
- papers
|
| 6 |
+
- abstracts
|
| 7 |
+
- nlp
|
| 8 |
+
- scientific-papers
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1M<n<10M
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# ArXiv Paper Abstracts
|
| 14 |
+
|
| 15 |
+
Collection of ArXiv paper abstracts in JSON format for search and retrieval tasks.
|
| 16 |
+
|
| 17 |
+
## π Dataset Info
|
| 18 |
+
|
| 19 |
+
- **Papers**: 2+ million
|
| 20 |
+
- **Format**: JSON Lines (one object per line)
|
| 21 |
+
- **Source**: [Kaggle ArXiv Dataset](https://www.kaggle.com/datasets/Cornell-University/arxiv)
|
| 22 |
+
- **Updated**: Version 266
|
| 23 |
+
|
| 24 |
+
## π Format
|
| 25 |
+
|
| 26 |
+
Each line contains a JSON object:
|
| 27 |
+
|
| 28 |
+
```json
|
| 29 |
+
{"abstract": "Paper abstract text..."}
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## π Quick Start
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
from huggingface_hub import hf_hub_download
|
| 36 |
+
import json
|
| 37 |
+
|
| 38 |
+
# Download corpus
|
| 39 |
+
corpus_path = hf_hub_download(
|
| 40 |
+
repo_id="ismailemir/arxiv-corpus",
|
| 41 |
+
filename="arxiv_abstracts.json",
|
| 42 |
+
repo_type="dataset"
|
| 43 |
+
)
|
| 44 |
+
|
| 45 |
+
# Load corpus
|
| 46 |
+
corpus = []
|
| 47 |
+
with open(corpus_path, 'r') as f:
|
| 48 |
+
for line in f:
|
| 49 |
+
row = json.loads(line)
|
| 50 |
+
corpus.append(row["abstract"])
|
| 51 |
+
|
| 52 |
+
print(f"Loaded {len(corpus):,} abstracts")
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## π‘ Use Cases
|
| 56 |
+
|
| 57 |
+
- π Academic paper search
|
| 58 |
+
- π Information retrieval research
|
| 59 |
+
- π€ Training search models
|
| 60 |
+
- π Text mining and analysis
|
| 61 |
+
- π§ͺ Benchmarking retrieval systems
|
| 62 |
+
|
| 63 |
+
## π Related
|
| 64 |
+
|
| 65 |
+
- π Search Indices: [ismailemir/arxiv-indices](https://huggingface.co/datasets/ismailemir/arxiv-indices)
|
| 66 |
+
- π¬ Original Dataset: [Cornell ArXiv](https://www.kaggle.com/datasets/Cornell-University/arxiv)
|
| 67 |
+
|
| 68 |
+
## π License
|
| 69 |
+
|
| 70 |
+
Apache 2.0 - Please cite ArXiv if using this data.
|
| 71 |
+
|
| 72 |
+
## π Citation
|
| 73 |
+
|
| 74 |
+
```bibtex
|
| 75 |
+
@article{clement2019arxiv,
|
| 76 |
+
title={On the Use of ArXiv as a Dataset},
|
| 77 |
+
author={Clement, Colin B and Bierbaum, Matthew and O'Keeffe, Kevin P and Alemi, Alexander A},
|
| 78 |
+
journal={arXiv preprint arXiv:1905.00075},
|
| 79 |
+
year={2019}
|
| 80 |
+
}
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
## π§ Contact
|
| 84 |
+
|
| 85 |
+
For issues or questions, please open an issue on the Hugging Face dataset page.
|