PyRetri/retrieval_tool_box/extract/__init__.py

16 lines
408 B
Python

# -*- coding: utf-8 -*-
from yacs.config import CfgNode
from .config import get_extractor_cfg, get_aggregators_cfg, get_extract_cfg
from .builder import build_aggregators, build_extractor, build_extract_helper
from .utils import split_dataset, make_data_json
__all__ = [
'get_extract_cfg',
'build_aggregators', 'build_extractor', 'build_extract_helper',
'split_dataset', 'make_data_json',
]