foo-barrr commited on
Commit
24c3fc9
·
verified ·
1 Parent(s): 45f6327

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +13 -12
  2. adapter_config.json +37 -0
  3. adapter_model.safetensors +3 -0
README.md CHANGED
@@ -1,27 +1,25 @@
1
  ---
2
- license: llama2
 
 
 
 
 
 
3
  ---
4
 
5
  # Model Card for Model ID
6
 
7
  <!-- Provide a quick summary of what the model is/does. -->
8
 
9
- This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
10
 
11
  ## Model Details
12
 
13
  ### Model Description
14
 
15
- LoRA finetuned Llama-2-7B-Chat on the Alpaca dataset. Base model : https://huggingface.co/TheBloke/Llama-2-7B-Chat-fp16
16
-
17
- https://github.com/rahuln32/LLMs-Finetuning-Safety-Drift-Fixes/tree/main/llama2
18
-
19
- Params :
20
 
21
- Batch size : 64
22
- Gradient accumulation steps : 1
23
- LR : 5e-5
24
- Epochs : 1
25
 
26
 
27
  - **Developed by:** [More Information Needed]
@@ -203,4 +201,7 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
203
 
204
  ## Model Card Contact
205
 
206
- [More Information Needed]
 
 
 
 
1
  ---
2
+ base_model: TheBloke/Llama-2-7B-Chat-fp16
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TheBloke/Llama-2-7B-Chat-fp16
7
+ - lora
8
+ - transformers
9
  ---
10
 
11
  # Model Card for Model ID
12
 
13
  <!-- Provide a quick summary of what the model is/does. -->
14
 
15
+
16
 
17
  ## Model Details
18
 
19
  ### Model Description
20
 
21
+ <!-- Provide a longer summary of what this model is. -->
 
 
 
 
22
 
 
 
 
 
23
 
24
 
25
  - **Developed by:** [More Information Needed]
 
201
 
202
  ## Model Card Contact
203
 
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.16.1.dev0
adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "TheBloke/Llama-2-7B-Chat-fp16",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 32,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "v_proj",
29
+ "q_proj"
30
+ ],
31
+ "target_parameters": null,
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_qalora": false,
36
+ "use_rslora": false
37
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b4c2726a6bba51bd5cea2a66c4d3b0ea10c84783189cbe00cd1432b5538c86d
3
+ size 16794200