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