data_juicer.utils.cache_utils module¶ class data_juicer.utils.cache_utils.DatasetCacheControl(on: bool = False)[源代码]¶ 基类:object Define a range that change the cache state temporarily. __init__(on: bool = False)[源代码]¶ data_juicer.utils.cache_utils.dataset_cache_control(on)[源代码]¶ A more easy-to-use decorator for functions that need to control the cache state temporarily.