Location of the input file for Touché task 2

Hi everyone,

I’ve been trying to do a run for the Evidence Retrieval for Causal Questions shared task, but there seems to be something going on with the input file location. My attempt was to read the file {$inputDatsets}/topics.xml. But I’m getting a FileNotFoundError, maybe because the path is relative. Do I have to read the input path differently or interpret it as an absolute path?
Thanks for your help and best regards,

Traceback (most recent call last):
  File "/app/src/pipeline.py", line 72, in <module>
    main(inp, out, run, short)
  File "/app/src/pipeline.py", line 32, in main
    ti = TopicIterator(input_path + "/topics.xml")
  File "/app/src/causal_retrieval_touche/task_helpers.py", line 30, in __init__
    self.tree = ET.parse(data_path)
  File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 1222, in parse
    tree.parse(source, parser)
  File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 569, in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: **'training-datasets/touche-2023-task-2/touche-23-task-2-validation-re-rank-default-text-20221122-training//topics.xml'**

Dear Aron, I am very sorry for the late reply!

I totally overlooked your request because it was in the docker category.
Sorry for that, that was definitively my fault!

Indeed, we did some renaming of the files to make it more standardized (so the file is named queries.xml).
Furthermore, we improved the library so that you don’t have to take care of parsing and loading the inputs, as this is now already done by a small lightweight library.

Please have a look at our updated tutorial:

Please do not hesitate to contact us in case of further problems, and I am really sorry that I missed your question!

Best Regards,