(args, config_dict)
| 72 | result = pipeline.run(test_data) |
| 73 | |
| 74 | def re_call(args, config_dict): |
| 75 | config = Config(args.config_path, config_dict) |
| 76 | all_split = get_dataset(config) |
| 77 | test_data = all_split[args.split] |
| 78 | |
| 79 | from flashrag.pipeline import ReCallPipeline |
| 80 | pipeline = ReCallPipeline(config) |
| 81 | result = pipeline.run(test_data) |
| 82 | |
| 83 | if __name__ == "__main__": |
| 84 | parser = argparse.ArgumentParser(description="Running exp") |
nothing calls this directly
no test coverage detected