How to run the first software?

hi, can i ask you one question? I don’t know how to submit.


i want to load test data in my code, but i don’t undestand the command. can you tell me how to use it?
what is the mysoftware? when i use python3 my_test.py -c $inputDataset -o /home/, i don’t see some ram used, and other output message…

if someone know how to submit, please tell me. Thank you very much.

Hi,

  • “mySoftware” represents your own code or python script you want to run. You need to replace “mySoftware” with the name of your script.
  • “$inputDataset” defines the path to the input document pairs. You can choose three datasets: small (dataset 2), large (dataset 1) for debugging, or test set.
  • $outputDir takes the path where to store your anwers.jsonl file.

In my case, I only need to define the absolute path of my python script. Alternatively, you can name the working directory. Here is an example of my command line, how it works for me (using the absolute path):

/home/boenninghoff21/miniconda3/envs/pan/bin/python /home/boenninghoff21/final/main_inference.py -i $inputDataset -o $outputDir

As you can see, I installed a python environment via miniconda. And my script “main_inference.py” takes two arguments for input data and output files. I would suggest you to test it with dataset 1 or 2. Then you will get feedback if any error occurs. With the test data, everything is hidden.

Hope, it was helpful.

Best,
Benedikt

2 Likes

thank you very much :grinning:.