christian-hoang-04 commited on
Commit
5879def
·
verified ·
1 Parent(s): 2dd8867

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -21
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
  license: cc-by-4.0
3
- pretty_name: AI Conference & Journal Papers - NeurIPS PDFs
4
  ---
5
 
6
- # AI Conference & Journal Papers - NeurIPS PDF Storage
7
 
8
- This repository is a **storage shard** containing the raw PDF files for **NeurIPS** 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,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` and `pandas` (or `pyarrow`) installed:
24
  ```bash
25
- pip install huggingface_hub pandas pyarrow
26
  ```
27
- You can use the following script to load the metadata for [VENUE] and download a specific PDF mirror:
 
28
  ```python
29
- import pandas as pd
30
  from huggingface_hub import hf_hub_download
31
 
32
- # 1. Load the metadata split for [VENUE] from the MAIN repository
33
- # (Change the split year as needed, e.g., "2025", "2024", etc.)
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