Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +161 -3
- metadata/arxiv-metadata-oai-snapshot.json +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
metadata/arxiv-metadata-oai-snapshot.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,161 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-text
|
| 5 |
+
- question-answering
|
| 6 |
+
- text-generation
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- chemistry
|
| 11 |
+
- biology
|
| 12 |
+
- math
|
| 13 |
+
- computer-science
|
| 14 |
+
- physics
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# π arXiv Dataset Snapshot (Kaggle β Hugging Face)
|
| 18 |
+
|
| 19 |
+
This repository hosts a **snapshot of the arXiv dataset**, originally published on **Kaggle**, and re-uploaded to **Hugging Face Datasets** for easier access, versioning, and seamless integration with modern ML workflows.
|
| 20 |
+
|
| 21 |
+
The goal is to make large-scale arXiv metadata and paper content readily usable for **LLM training, retrieval-augmented generation (RAG), citation analysis, and research analytics**.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## π Whatβs Inside
|
| 26 |
+
|
| 27 |
+
Depending on the Kaggle snapshot version, this dataset typically includes:
|
| 28 |
+
|
| 29 |
+
* π **arXiv IDs**
|
| 30 |
+
* π·οΈ **Titles**
|
| 31 |
+
* βοΈ **Authors**
|
| 32 |
+
* ποΈ **Primary & secondary categories**
|
| 33 |
+
* π **Abstracts**
|
| 34 |
+
* π
**Submission / update dates**
|
| 35 |
+
* π **DOI & journal references (when available)**
|
| 36 |
+
|
| 37 |
+
> β οΈ This is a *snapshot* β it does **not** auto-update with new arXiv submissions.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## π’ Current Status
|
| 42 |
+
|
| 43 |
+
* β
Metadata is currently available (titles, authors, abstracts, categories, etc.)
|
| 44 |
+
|
| 45 |
+
* π§ Full papers will be uploaded soon, category-wise (e.g., cs, math, physics, stat)
|
| 46 |
+
|
| 47 |
+
This repository will be updated incrementally as category-wise paper content is added.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## π¦ Dataset Structure
|
| 52 |
+
|
| 53 |
+
A typical layout looks like:
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
.
|
| 57 |
+
βββ metadata/
|
| 58 |
+
β βββ arxiv-metadata-oai-snapshot.json
|
| 59 |
+
βββ papers/
|
| 60 |
+
β βββ cs/
|
| 61 |
+
β βββ math/
|
| 62 |
+
β βββ physics/
|
| 63 |
+
β βββ ...
|
| 64 |
+
βββ README.md
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
Or (for lightweight versions):
|
| 68 |
+
|
| 69 |
+
```
|
| 70 |
+
arxiv-metadata-oai-snapshot.json
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Each record is **one paper per line (JSONL)** for efficient streaming and partial loading.
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
+
## π€ Loading with Hugging Face
|
| 78 |
+
|
| 79 |
+
```python
|
| 80 |
+
from datasets import load_dataset
|
| 81 |
+
|
| 82 |
+
# Replace with your HF username / org and dataset name
|
| 83 |
+
dataset = load_dataset("anuj0456/arxiv-dataset", split="train")
|
| 84 |
+
|
| 85 |
+
print(dataset[0])
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
### Streaming (recommended for large snapshots)
|
| 89 |
+
|
| 90 |
+
```python
|
| 91 |
+
dataset = load_dataset(
|
| 92 |
+
"anuj0456/arxiv-dataset",
|
| 93 |
+
split="train",
|
| 94 |
+
streaming=True
|
| 95 |
+
)
|
| 96 |
+
|
| 97 |
+
for sample in dataset.take(3):
|
| 98 |
+
print(sample["title"])
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
---
|
| 102 |
+
|
| 103 |
+
## π§ Use Cases
|
| 104 |
+
|
| 105 |
+
* π **Pretraining / continued training** of language models
|
| 106 |
+
* π **RAG pipelines** (abstracts + full text)
|
| 107 |
+
* π **Scientometrics & citation analysis**
|
| 108 |
+
* π§ͺ **Topic modeling & clustering**
|
| 109 |
+
* π·οΈ **Multi-label classification (arXiv categories)**
|
| 110 |
+
* πΈοΈ **Knowledge graph construction**
|
| 111 |
+
|
| 112 |
+
---
|
| 113 |
+
|
| 114 |
+
## βοΈ License & Attribution
|
| 115 |
+
|
| 116 |
+
* Original data source: **arXiv.org**
|
| 117 |
+
* Kaggle snapshot license: *as provided by Kaggle / arXiv*
|
| 118 |
+
* arXiv content is generally distributed under **CC BY 4.0** or **arXiv.org perpetual license**
|
| 119 |
+
|
| 120 |
+
If you use this dataset, **please cite arXiv appropriately**:
|
| 121 |
+
|
| 122 |
+
```
|
| 123 |
+
@misc{arxiv,
|
| 124 |
+
title = {arXiv e-Print archive},
|
| 125 |
+
url = {https://arxiv.org}
|
| 126 |
+
}
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## π§Ύ Notes & Limitations
|
| 132 |
+
|
| 133 |
+
* This dataset may contain:
|
| 134 |
+
|
| 135 |
+
* Missing fields
|
| 136 |
+
* Duplicate versions of the same paper
|
| 137 |
+
* LaTeX artifacts in full text
|
| 138 |
+
* No guarantees of completeness or correctness
|
| 139 |
+
* Not an official arXiv distribution
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
## π Acknowledgements
|
| 144 |
+
|
| 145 |
+
* **arXiv.org** for maintaining the open research archive
|
| 146 |
+
* **Kaggle** for hosting the dataset snapshot
|
| 147 |
+
* **Hugging Face** for dataset infrastructure
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
## π Related
|
| 152 |
+
|
| 153 |
+
* arXiv API: [https://arxiv.org/help/api](https://arxiv.org/help/api)
|
| 154 |
+
* Kaggle arXiv datasets
|
| 155 |
+
* Hugging Face Datasets documentation
|
| 156 |
+
|
| 157 |
+
---
|
| 158 |
+
|
| 159 |
+
If you find this dataset useful, consider β starring the repo or sharing it with the community.
|
| 160 |
+
|
| 161 |
+
Happy researching! π
|
metadata/arxiv-metadata-oai-snapshot.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9164890764f033b5827be858419497b41b8b382f59d3f81e3b32137edaf9373f
|
| 3 |
+
size 4997761699
|