The parameters load_hf_if_available and load_timm_if_available of the configilm.ILMConfiguration class are switches for loading a pretrained huggingface or timm model according to this docstring. Their purpose could be made clearer and more explicit by renaming them to something like load_pretrained_hf_if_available and load_pretrained_timm_if_available respectively.
This is actually done in a less user-facing function here.
The parameters
load_hf_if_available
andload_timm_if_available
of theconfigilm.ILMConfiguration
class are switches for loading a pretrained huggingface or timm model according to this docstring. Their purpose could be made clearer and more explicit by renaming them to something likeload_pretrained_hf_if_available
andload_pretrained_timm_if_available
respectively.This is actually done in a less user-facing function here.