You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use_dora and init_lora_weights are missing from ModelConfig.
Motivation
use_dora and init_lora_weights are parameters that exist on LoraConfig that do not exist in trl's ModelConfig, so it makes trl less convenient to use with any model training scripts that require these parameters set, including the SmolVLM finetuning script https://github.com/huggingface/smollm/blob/main/finetuning/Smol_VLM_FT.ipynb.
Your contribution
Yes, I could submit a PR for this.
The text was updated successfully, but these errors were encountered:
Feature request
use_dora and init_lora_weights are missing from ModelConfig.
Motivation
use_dora and init_lora_weights are parameters that exist on LoraConfig that do not exist in trl's ModelConfig, so it makes trl less convenient to use with any model training scripts that require these parameters set, including the SmolVLM finetuning script https://github.com/huggingface/smollm/blob/main/finetuning/Smol_VLM_FT.ipynb.
Your contribution
Yes, I could submit a PR for this.
The text was updated successfully, but these errors were encountered: