kromeurus commited on
Commit
247e802
1 Parent(s): 545d055

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +25 -0
  2. adapter_config.json +38 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - unsloth/Meta-Llama-3.1-8B
4
+ - maximalists/BRAG-Llama-3.1-8b-v0.1
5
+ library_name: transformers
6
+ tags:
7
+ - mergekit
8
+ - peft
9
+
10
+ ---
11
+ # BRAG-r32-LoRA
12
+
13
+ This is a LoRA extracted from a language model. It was extracted using [mergekit](https://github.com/arcee-ai/mergekit).
14
+
15
+ ## LoRA Details
16
+
17
+ This LoRA adapter was extracted from [maximalists/BRAG-Llama-3.1-8b-v0.1](https://huggingface.co/maximalists/BRAG-Llama-3.1-8b-v0.1) and uses [unsloth/Meta-Llama-3.1-8B](https://huggingface.co/unsloth/Meta-Llama-3.1-8B) as a base.
18
+
19
+ ### Parameters
20
+
21
+ The following command was used to extract this LoRA adapter:
22
+
23
+ ```sh
24
+ mergekit-extract-lora maximalists/BRAG-Llama-3.1-8b-v0.1 unsloth/Meta-Llama-3.1-8B OUTPUT_PATH --no-lazy-unpickle --rank=32 --extend-vocab --model_name=BRAG-r32-LoRA
25
+ ```
adapter_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/Meta-Llama-3.1-8B",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 32,
13
+ "lora_dropout": 0,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": [
17
+ "input_layernorm",
18
+ "norm",
19
+ "post_attention_layernorm"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "embed_tokens",
27
+ "k_proj",
28
+ "up_proj",
29
+ "o_proj",
30
+ "v_proj",
31
+ "down_proj",
32
+ "gate_proj",
33
+ "q_proj",
34
+ "lm_head"
35
+ ],
36
+ "task_type": "CAUSAL_LM",
37
+ "use_rslora": false
38
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ea0d6e22b2a3998db1b76645e0a366290306e1ca93ede41492808b25a46d9f2
3
+ size 185315248