Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -53,7 +53,7 @@ it is a directory of files, so it needs `snapshot_download`.
|
|
| 53 |
```python
|
| 54 |
from datasets import load_dataset
|
| 55 |
|
| 56 |
-
targets = load_dataset("
|
| 57 |
print(targets[0]["instance_id"], targets[0]["problem_statement"][:200])
|
| 58 |
```
|
| 59 |
|
|
@@ -63,7 +63,7 @@ print(targets[0]["instance_id"], targets[0]["problem_statement"][:200])
|
|
| 63 |
from huggingface_hub import snapshot_download
|
| 64 |
|
| 65 |
snapshot_download(
|
| 66 |
-
repo_id="
|
| 67 |
repo_type="dataset",
|
| 68 |
local_dir="benchmark",
|
| 69 |
)
|
|
@@ -73,7 +73,7 @@ snapshot_download(
|
|
| 73 |
|
| 74 |
```python
|
| 75 |
snapshot_download(
|
| 76 |
-
repo_id="
|
| 77 |
repo_type="dataset",
|
| 78 |
local_dir="benchmark",
|
| 79 |
allow_patterns=["test.parquet", "history/python/*"],
|
|
@@ -83,7 +83,7 @@ snapshot_download(
|
|
| 83 |
Or from the command line:
|
| 84 |
|
| 85 |
```bash
|
| 86 |
-
hf download
|
| 87 |
```
|
| 88 |
|
| 89 |
The harness expects the result at `benchmark/`, so `local_dir="benchmark"` puts
|
|
|
|
| 53 |
```python
|
| 54 |
from datasets import load_dataset
|
| 55 |
|
| 56 |
+
targets = load_dataset("Tongyi-ConvAI/VibeMemBench", split="test")
|
| 57 |
print(targets[0]["instance_id"], targets[0]["problem_statement"][:200])
|
| 58 |
```
|
| 59 |
|
|
|
|
| 63 |
from huggingface_hub import snapshot_download
|
| 64 |
|
| 65 |
snapshot_download(
|
| 66 |
+
repo_id="Tongyi-ConvAI/VibeMemBench",
|
| 67 |
repo_type="dataset",
|
| 68 |
local_dir="benchmark",
|
| 69 |
)
|
|
|
|
| 73 |
|
| 74 |
```python
|
| 75 |
snapshot_download(
|
| 76 |
+
repo_id="Tongyi-ConvAI/VibeMemBench",
|
| 77 |
repo_type="dataset",
|
| 78 |
local_dir="benchmark",
|
| 79 |
allow_patterns=["test.parquet", "history/python/*"],
|
|
|
|
| 83 |
Or from the command line:
|
| 84 |
|
| 85 |
```bash
|
| 86 |
+
hf download Tongyi-ConvAI/VibeMemBench --repo-type dataset --local-dir benchmark
|
| 87 |
```
|
| 88 |
|
| 89 |
The harness expects the result at `benchmark/`, so `local_dir="benchmark"` puts
|