lora license:other region:us
---
license: other
license_name: other
license_link: LICENSE
tags:
- lora
---
## Description

QLoRA adapter files for Mistral-7B-AEZAKMI v1
You can use it to merge the adapter with base model by yourself without a need of downloading a fresh base model from scratch.



## Training procedure

Training parameters:

- sequence_length: 4096
- sample_packing: false
- micro_batch_size: 8
- lora_r: 32
- lora_alpha: 64
-  lora_target_modules:
    >q_proj\
    >v_proj\
    >k_proj\
    >o_proj\
    >gate_proj\
    >down_proj\
    >up_proj
- lora_target_linear: true
- gradient_accumulation_steps: 1
- pad_to_sequence_len: true
- num_epochs: 5 (exited manually after 2)
- optimizer: adamw_bnb_8bit
- lr_scheduler: cosine
- learning_rate: 0.00008
- bf16: true
- bfloat16: true
- gradient_checkpointing: true
- flash_attention: true

The following `bitsandbytes` quantization config was used during training:
- quant_method: bitsandbytes
- load_in_8bit: False
- load_in_4bit: True
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: nf4
- bnb_4bit_use_double_quant: True
- bnb_4bit_compute_dtype: bfloat16