Arguments#
- class FlagEmbedding.finetune.embedder.decoder_only.base.DecoderOnlyEmbedderModelArguments(model_name_or_path: str, config_name: str | None = None, tokenizer_name: str | None = None, cache_dir: str | None = None, trust_remote_code: bool = False, token: str = <factory>, peft_model_path: str = '', use_lora: bool = True, lora_rank: int = 64, lora_alpha: float = 16, lora_dropout: float = 0.1, target_modules: ~typing.List[str] = <factory>, use_flash_attn: bool = False, use_slow_tokenizer: bool = False, from_peft: str | None = None, modules_to_save: str | None = None, raw_peft: str | None = None, additional_special_tokens: str | None = None, save_merged_lora_model: bool = False)[source]#
Model argument class for decoder only base model.