anuj0456 commited on
Commit
5452861
Β·
verified Β·
1 Parent(s): 4409235

Upload folder using huggingface_hub

Browse files
.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