Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreFCruz committed Jun 27, 2024
1 parent 3f8bf7d commit ed4ff03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions folktexts/cli/launch_experiments_htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def main():
# Prepare command-line arguments
models = args.model or LLM_MODELS
tasks = args.task or ACS_TASKS
executable_path = Path(args.executable_path)
executable_path = Path(args.executable_path).resolve()
if not executable_path.exists() or not executable_path.is_file():
raise FileNotFoundError(f"Executable script not found at '{executable_path}'.")

Expand All @@ -218,7 +218,7 @@ def main():
else:
all_experiments = [
make_llm_clf_experiment(
executable_path=executable_path,
executable_path=executable_path.as_posix(),
model_name=model,
task=task,
results_root_dir=args.results_root_dir,
Expand Down

0 comments on commit ed4ff03

Please sign in to comment.