This PR is the first step to adding a data model and utility to initialize LoraConfig . It adds support for get_peft_config to return LoraConfig or PEFTTuningConfig
It also includes a refactor to
move common code needed for peft and Lora config initialization to the peft_config file .
create modular functions
move out parts specific to pefT Config to a separate private function ultimately called from within get_peft_config based on tuning type
For #https://github.com/caikit/caikit-nlp/issues/136
This PR is the first step to adding a data model and utility to initialize LoraConfig . It adds support for get_peft_config to return LoraConfig or PEFTTuningConfig
It also includes a refactor to