use crate::lora::LoRAConfig;
#[derive(Debug, Clone)]
pub enum FineTuneMethod {
Full,
LoRA(LoRAConfig),
QLoRA {
lora_config: LoRAConfig,
bits: u8,
},
PrefixTuning {
prefix_length: usize,
},
}
impl Default for FineTuneMethod {
fn default() -> Self {
Self::LoRA(LoRAConfig::default())
}
}