Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
pretty_name: AI Conference & Journal Papers -
|
| 4 |
---
|
| 5 |
|
| 6 |
-
# AI Conference & Journal Papers -
|
| 7 |
|
| 8 |
-
This repository is a **storage shard** containing the raw PDF files for **
|
| 9 |
|
| 10 |
⚠️ **Important:** This repository *only* contains the sharded PDF binary files. It does **not** contain the searchable metadata (titles, abstracts, authors, etc.).
|
| 11 |
|
|
@@ -20,34 +20,22 @@ Since the metadata and the file paths are hosted in the main repository, the sta
|
|
| 20 |
|
| 21 |
### Python Example
|
| 22 |
|
| 23 |
-
Make sure you have `huggingface_hub`
|
| 24 |
```bash
|
| 25 |
-
pip install huggingface_hub
|
| 26 |
```
|
| 27 |
-
You can use the following script to load the metadata for
|
|
|
|
| 28 |
```python
|
| 29 |
-
import pandas as pd
|
| 30 |
from huggingface_hub import hf_hub_download
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
df = pd.read_parquet("hf://datasets/GenAI4ELab/papercli-papers/browse/[VENUE]/2025.parquet")
|
| 35 |
-
|
| 36 |
-
# Preview the metadata
|
| 37 |
-
print(df[["title", "hf_pdf_path"]].head())
|
| 38 |
-
|
| 39 |
-
# 2. Download a mirrored PDF using the path from the metadata
|
| 40 |
-
# Select a row from the dataframe
|
| 41 |
-
row = df.iloc[0]
|
| 42 |
-
|
| 43 |
-
repo_id = f"ClosedUni/papercli-papers-{row['venue'].lower()}" # Points to this repository
|
| 44 |
-
local_pdf_path = hf_hub_download(
|
| 45 |
repo_id=repo_id,
|
| 46 |
filename=row["hf_pdf_path"],
|
| 47 |
repo_type="dataset",
|
| 48 |
)
|
| 49 |
|
| 50 |
-
print(f"PDF successfully downloaded to: {local_pdf_path}")
|
| 51 |
```
|
| 52 |
|
| 53 |
## 🔗 Dataset Hub & All PDF Shards
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
pretty_name: AI Conference & Journal Papers -AAAI PDFs
|
| 4 |
---
|
| 5 |
|
| 6 |
+
# AI Conference & Journal Papers - AAAI PDF Storage
|
| 7 |
|
| 8 |
+
This repository is a **storage shard** containing the raw PDF files for **AAAI** papers. It is part of the larger **AI Conference & Journal Papers** dataset project.
|
| 9 |
|
| 10 |
⚠️ **Important:** This repository *only* contains the sharded PDF binary files. It does **not** contain the searchable metadata (titles, abstracts, authors, etc.).
|
| 11 |
|
|
|
|
| 20 |
|
| 21 |
### Python Example
|
| 22 |
|
| 23 |
+
Make sure you have `huggingface_hub` installed:
|
| 24 |
```bash
|
| 25 |
+
pip install huggingface_hub
|
| 26 |
```
|
| 27 |
+
You can use the following script to load the metadata for AAAI and download a specific PDF mirror:
|
| 28 |
+
|
| 29 |
```python
|
|
|
|
| 30 |
from huggingface_hub import hf_hub_download
|
| 31 |
|
| 32 |
+
repo_id = f"ClosedUni/papercli-papers-{row['aaai'].lower()}" # Points to this repository
|
| 33 |
+
path = hf_hub_download(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
repo_id=repo_id,
|
| 35 |
filename=row["hf_pdf_path"],
|
| 36 |
repo_type="dataset",
|
| 37 |
)
|
| 38 |
|
|
|
|
| 39 |
```
|
| 40 |
|
| 41 |
## 🔗 Dataset Hub & All PDF Shards
|