interchart commited on
Commit
55f73c4
·
verified ·
1 Parent(s): e17d8e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -20
README.md CHANGED
@@ -144,34 +144,54 @@ INTERCHART supports both **visual** and **table-based** evaluation modes.
144
 
145
  ## 🚀 Usage
146
 
147
- ### Load from Hugging Face
148
 
149
- ```python
150
- from datasets import load_dataset
151
 
152
- dataset = load_dataset("interchart/interchart", name="DECAF")
153
- print(dataset["train"][0])
154
- ````
 
 
 
155
 
156
- Available subsets:
157
 
158
- * `"DECAF"`
159
- * `"SPECTRA"`
160
- * `"STORM"`
161
 
162
- Each entry contains:
 
 
 
 
 
 
 
 
 
 
163
 
164
- ```json
165
- {
166
- "id": "DECAF_00123",
167
- "image_path": "DECAF/simple/chart_123.png",
168
- "question": "What is the highest bar value for 2020?",
169
- "answer": "45.6",
170
- "question_type": "comparison",
171
- "subset": "DECAF"
172
- }
173
  ```
174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  ---
176
 
177
  ## 🔍 Citation
 
144
 
145
  ## 🚀 Usage
146
 
147
+ ### 🔐 Access & Download Instructions
148
 
149
+ Use an **access token** as your Git credential when cloning or pushing to the repository.
 
150
 
151
+ 1. **Install Git LFS**
152
+ Download and install from [https://git-lfs.com](https://git-lfs.com).
153
+ Then run:
154
+ ```
155
+
156
+ git lfs install
157
 
158
+ ```
159
 
160
+ 2. **Clone the dataset repository**
161
+ When prompted for a password, use your **Hugging Face access token** with *write permissions*.
162
+ You can generate one here: [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)
163
 
164
+ ```
165
+
166
+ git clone [https://huggingface.co/datasets/interchart/Interchart](https://huggingface.co/datasets/interchart/Interchart)
167
+
168
+ ```
169
+
170
+ 3. **Clone without large files (LFS pointers only)**
171
+ If you only want lightweight clones without downloading all image data:
172
+ ```
173
+
174
+ GIT_LFS_SKIP_SMUDGE=1 git clone [https://huggingface.co/datasets/interchart/Interchart](https://huggingface.co/datasets/interchart/Interchart)
175
 
 
 
 
 
 
 
 
 
 
176
  ```
177
 
178
+ 4. **Alternative: use the Hugging Face CLI**
179
+ Make sure the CLI is installed:
180
+ ```
181
+
182
+ pip install -U "huggingface_hub[cli]"
183
+
184
+ ```
185
+
186
+ Then download directly:
187
+ ```
188
+
189
+ hf download interchart/Interchart --repo-type=dataset
190
+
191
+ ```
192
+
193
+
194
+
195
  ---
196
 
197
  ## 🔍 Citation