iKernels / ANLPIR-2018

GitHub repository for ANLPIR 2018 course.
2 stars 6 forks source link

Unable to execute the pipeline #1

Open durgeshnandini opened 6 years ago

durgeshnandini commented 6 years ago

I am trying to run the pipeline but I am getting the following error as shown in the attachment. Please suggest a solution.

argumentserror

ktymoshenko commented 6 years ago

Hello,

please have a look at the "Running experiments on WikiQA" section of the documentation (https://github.com/iKernels/ANLPIR-2018/tree/master/partIV/qapipeline/RelationalTextRanking#running-experiments-on-wikiqa). From your screenshot it looks that you are missing some parameters.

Here is an example of how to launch the experiment_launcher script, which creates a sh-file with the commands to perform structure extraction, training of an svm with the classification PTK kernel, and prediction on the WikiQA corpus with examples represented as shallow-pos structures:

python scripts/experiment_launchers/experiment_launcher.py -l ${corpus_name} -o scripts/generated_scripts -c CH -p "-t 5 -F 3 -C T -m 1000" -e it.unitn.nlpir.experiment.fqa.CHExperiment -suf T -s it.unitn.nlpir.system.core.ClassTextPairConversion -ate " -skipAllSame" -ade " -skipAllSame"

The above will generate a sh-file which contains the commands to run the pipeline end-to-end. The meanings of the parameters are as follows: