Skip to content

Commit

Permalink
Merge pull request #956 from EleutherAI/haileyschoelkopf-patch-3
Browse files Browse the repository at this point in the history
[Refactor] Describe local dataset usage in docs
  • Loading branch information
StellaAthena authored Nov 1, 2023
2 parents aff4742 + 56a2c8e commit 575dd0d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/new_task_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ dataset_name: ... # the dataset configuration to use. Leave `null` if your datas
dataset_kwargs: null # any extra keyword arguments that should be passed to the dataset constructor, e.g. `data_dir`.
```
------------------------------
**Tip:** To load a local dataset for evaluation, you can specify data files in the `dataset_kwargs` field, such as the following for JSON files:
```
dataset_path: json
dataset_name: null
dataset_kwargs:
data_files: /path/to/my/json
```
-------------------------------
Next, we'd like to tell our task what the dataset's train, validation, and test splits are named, if they exist:
```yaml
Expand Down

0 comments on commit 575dd0d

Please sign in to comment.