paq/generation/filtering/filter_questions.py [45:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        type=str,
                        required=True,
                        help='path to generate from (in jsonl format, produced by `answer_extractor`)')
    parser.add_argument('--output_path', type=str, required=True, help='Path to dump results to')
    parser.add_argument('--path_to_config', type=str, required=True, help='path to question generator config file')
    parser.add_argument('-v', '--verbose', action="store_true")
    args = parser.parse_args()

    if args.verbose:
        logging.basicConfig(level=logging.DEBUG)

    with open(args.path_to_config) as f:
        config = json.load(f)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



paq/generation/question_generator/generate_questions.py [33:45]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        type=str,
                        required=True,
                        help='path to generate from (in jsonl format, produced by `answer_extractor`)')
    parser.add_argument('--output_path', type=str, required=True, help='Path to dump results to')
    parser.add_argument('--path_to_config', type=str, required=True, help='path to question generator config file')
    parser.add_argument('-v', '--verbose', action="store_true")
    args = parser.parse_args()

    if args.verbose:
        logging.basicConfig(level=logging.DEBUG)

    with open(args.path_to_config) as f:
        config = json.load(f)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



