Update README.md
Browse files
README.md
CHANGED
@@ -138,6 +138,22 @@ test_cases/
|
|
138 |
│ └── day_25_input.txt
|
139 |
```
|
140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
## Source
|
142 |
The dataset is derived from a combination of various websites.
|
143 |
|
|
|
138 |
│ └── day_25_input.txt
|
139 |
```
|
140 |
|
141 |
+
## Getting Started
|
142 |
+
You can access the dataset on Hugging Face using the following commands:
|
143 |
+
|
144 |
+
```bash
|
145 |
+
from huggingface_hub import hf_hub_download
|
146 |
+
import pandas as pd
|
147 |
+
|
148 |
+
REPO_ID = "Supa-AI/advent_of_code"
|
149 |
+
FILENAME = "aoc.csv"
|
150 |
+
|
151 |
+
dataset = pd.read_csv(
|
152 |
+
hf_hub_download(repo_id=REPO_ID, filename=FILENAME, repo_type="dataset")
|
153 |
+
)
|
154 |
+
```
|
155 |
+
|
156 |
+
|
157 |
## Source
|
158 |
The dataset is derived from a combination of various websites.
|
159 |
|