license:apache-2.0 region:us
---
license: apache-2.0
---

qlora + 4bit finetuning on sharegpt4 dataset.

```
{
  "alpha_pattern": {},
  "auto_mapping": null,
  "base_model_name_or_path": "meta-llama/Llama-2-70b-hf",
  "bias": "none",
  "fan_in_fan_out": null,
  "inference_mode": true,
  "init_lora_weights": true,
  "layers_pattern": null,
  "layers_to_transform": null,
  "lora_alpha": 16,
  "lora_dropout": 0.05,
  "modules_to_save": null,
  "peft_type": "LORA",
  "r": 32,
  "rank_pattern": {},
  "revision": null,
  "target_modules": [
    "q_proj",
    "k_proj",
    "down_proj",
    "up_proj",
    "v_proj",
    "o_proj",
    "gate_proj"
  ],

```