-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add the chess move validity dataset
- Loading branch information
Showing
7 changed files
with
121 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
eval_dataset: "chess" | ||
path_to_exams: "data/datasets/${.eval_dataset}/" | ||
dataset_settings: | ||
exam_type: "short" # options: [short] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Check for AICHOR_INPUT_PATH and set FOLDER accordingly | ||
if [[ -z "${AICHOR_INPUT_PATH}" ]]; then | ||
FOLDER=data/datasets/chess/ | ||
else | ||
FOLDER="${AICHOR_INPUT_PATH}data/datasets/chess/" | ||
fi | ||
|
||
# Check if the dataset already exists | ||
if [ -e "${FOLDER}task.json" ]; then | ||
echo "CHESS dataset already exists in $FOLDER" | ||
else | ||
echo "Downloading CHESS dataset to $FOLDER" | ||
|
||
# Ensure the target directory exists | ||
if [ ! -d "${FOLDER}" ]; then | ||
echo "Creating folder ${FOLDER}" | ||
mkdir -p "${FOLDER}" | ||
fi | ||
|
||
# Download the specific part of the dataset | ||
wget https://raw.githubusercontent.com/google/BIG-bench/main/bigbench/benchmark_tasks/chess_state_tracking/real_short/task.json -P $FOLDER | ||
echo "Dataset downloaded to $FOLDER" | ||
fi |