Commit
·
64e1985
1
Parent(s):
1cf5029
Upload 4 files
Browse files- README.md +5 -0
- adapter_config.json +18 -0
- adapter_model.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is a fine-tuning of the LLaMa7B model in the style of the Alpaca dataset and setting but using LoRa.
|
| 2 |
+
|
| 3 |
+
For details of the data and hyper params - https://crfm.stanford.edu/2023/03/13/alpaca.html
|
| 4 |
+
|
| 5 |
+
This repo only contains the LoRa weights and not the original LLaMa weights which are research only.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model_name_or_path": "decapoda-research/llama-7b-hf",
|
| 3 |
+
"bias": "none",
|
| 4 |
+
"enable_lora": null,
|
| 5 |
+
"fan_in_fan_out": false,
|
| 6 |
+
"inference_mode": true,
|
| 7 |
+
"lora_alpha": 16,
|
| 8 |
+
"lora_dropout": 0.05,
|
| 9 |
+
"merge_weights": false,
|
| 10 |
+
"modules_to_save": null,
|
| 11 |
+
"peft_type": "LORA",
|
| 12 |
+
"r": 4,
|
| 13 |
+
"target_modules": [
|
| 14 |
+
"q_proj",
|
| 15 |
+
"v_proj"
|
| 16 |
+
],
|
| 17 |
+
"task_type": "CAUSAL_LM"
|
| 18 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6a69b66b8b708e2db1111ce2825068be2aad9431028110025cd606d691ca9b9
|
| 3 |
+
size 132
|