Datasets:
Add make download-benchmark instructions
Browse files
README.md
CHANGED
|
@@ -228,7 +228,20 @@ Provides operational heuristics and prerequisite dependencies for tools across a
|
|
| 228 |
|
| 229 |
---
|
| 230 |
|
| 231 |
-
## 5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
|
| 233 |
```python
|
| 234 |
from datasets import load_dataset
|
|
@@ -236,14 +249,14 @@ import json
|
|
| 236 |
|
| 237 |
# Option A: Load via Hugging Face datasets library
|
| 238 |
# Load ASR split
|
| 239 |
-
asr_dataset = load_dataset("
|
| 240 |
"train": "asr/train.jsonl",
|
| 241 |
"validation": "asr/val.jsonl"
|
| 242 |
})
|
| 243 |
print("ASR train samples:", len(asr_dataset["train"]))
|
| 244 |
|
| 245 |
# Load LLM tool-calling split
|
| 246 |
-
llm_dataset = load_dataset("
|
| 247 |
"train": "llm/train.jsonl",
|
| 248 |
"validation": "llm/val.jsonl"
|
| 249 |
})
|
|
|
|
| 228 |
|
| 229 |
---
|
| 230 |
|
| 231 |
+
## 5. Download & Quickstart
|
| 232 |
+
|
| 233 |
+
### 1-Line Download via Makefile
|
| 234 |
+
In the LifeMate project repository, run:
|
| 235 |
+
|
| 236 |
+
```bash
|
| 237 |
+
make download-benchmark
|
| 238 |
+
```
|
| 239 |
+
|
| 240 |
+
This automatically downloads and unpacks all benchmark files from [`zinzinmit/ZaloLMBench`](https://huggingface.co/datasets/zinzinmit/ZaloLMBench) directly into `data/train+public_test/benchmark/`.
|
| 241 |
+
|
| 242 |
+
---
|
| 243 |
+
|
| 244 |
+
### Python Quickstart with Hugging Face `datasets`
|
| 245 |
|
| 246 |
```python
|
| 247 |
from datasets import load_dataset
|
|
|
|
| 249 |
|
| 250 |
# Option A: Load via Hugging Face datasets library
|
| 251 |
# Load ASR split
|
| 252 |
+
asr_dataset = load_dataset("zinzinmit/ZaloLMBench", data_files={
|
| 253 |
"train": "asr/train.jsonl",
|
| 254 |
"validation": "asr/val.jsonl"
|
| 255 |
})
|
| 256 |
print("ASR train samples:", len(asr_dataset["train"]))
|
| 257 |
|
| 258 |
# Load LLM tool-calling split
|
| 259 |
+
llm_dataset = load_dataset("zinzinmit/ZaloLMBench", data_files={
|
| 260 |
"train": "llm/train.jsonl",
|
| 261 |
"validation": "llm/val.jsonl"
|
| 262 |
})
|