Closed vkaul11 closed 5 months ago
I see parser.add_argument("--pre_samples", type=int, default=0, help='number of samples are already generated') used here for qa input_text, answer = generate_input_output(index + args.pre_samples, used_docs) Why would you ever need this argument?
parser.add_argument("--pre_samples", type=int, default=0, help='number of samples are already generated')
input_text, answer = generate_input_output(index + args.pre_samples, used_docs)
You can just ignore this parameter. We use this because we run 500 samples evaluation in parallel, and this parameter can help prevent overlapping.
I see
parser.add_argument("--pre_samples", type=int, default=0, help='number of samples are already generated')
used here for qainput_text, answer = generate_input_output(index + args.pre_samples, used_docs)
Why would you ever need this argument?