lhackel-tub / ConfigILM

A Library for configurable combination of pre-configured and possibly pre-trained Image and Language Models
https://lhackel-tub.github.io/ConfigILM/
MIT License
37 stars 5 forks source link

Choose More Intuitive Parameter Names For Loading Pretrained Models #56

Closed mick-tub closed 1 year ago

mick-tub commented 1 year ago

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.