| 1234567891011121314151617181920212223242526 | # Copyright (c) Meta Platforms, Inc. and affiliates.# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.#!/bin/bash# Prompt the user for the EVAL_PATHread -p "Enter the asbolute path to the lm-evaluation-harness: " EVAL_PATHconda activate # Directory containing YAML filesDIR="open_llm_leaderboard"# Check if the directory existsif [ ! -d "$DIR" ]; then    echo "Error: Directory '$DIR' not found."    exit 1fi# Iterate over YAML files in the directory and update themfor YAML_FILE in "$DIR"/*.yamldo    if [ -f "$YAML_FILE" ]; then        sed -i 's|{\$EVAL_PATH}|'"$EVAL_PATH"'|g' "$YAML_FILE"        echo "Updated $YAML_FILE with EVAL_PATH: $EVAL_PATH"    fidone
 |