Skip to content

Commit

Permalink
Add folder for player movement analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
gkielian committed Sep 20, 2024
1 parent ffb7693 commit cf85cc5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions data/player_movement/get_dataset.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

### Instructions:
# 1. Replace "INSERT_URL_WITH_FILES" with the actual URL to the Parquet files.
# 2. Modify the "include_keys" array to specify the keys you want to include in the output.
# 3. (Optionally) Modify the "value_prefixes" array to set prefixes for each value, use "" for empty prefixes
# 4. Set "--skip_empty" to true if you want to skip empty fields, or false if not needed.
# 5. Set "--no_output_text" to true if you plan to process the intermediate json files in a custom manner.

# Run the Python script with the specified arguments

# Add url with dataset here:
url="INSERT_URL_WITH_FILES"

# uncomment and fill in if url has json datasets
# Note: the $'\n' syntax allows for special characters like \n
# python3 ./utils/get_json_dataset.py \
# --url "${url}" \
# --include_keys "instruction" "response" \
# --value_prefix $'#U:\n' $'#B:\n'

# uncomment and fill in if url has parquet datasets
# python3 ./utils/get_parquet_dataset.py \
# --url "${url}" \
# --include_keys "instruction" "response" \
# --value_prefix $'#U:\n' $'#B:\n'
File renamed without changes.
1 change: 1 addition & 0 deletions data/player_movement/prepare.py
1 change: 1 addition & 0 deletions data/player_movement/utils

0 comments on commit cf85cc5

Please sign in to comment.