iLittleSheep
commited on
Commit
•
a3fe57c
1
Parent(s):
ff8e0ad
Upload 4 files
Browse files- README.md +81 -3
- adapter_config.json +35 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,81 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
3 |
+
library_name: peft
|
4 |
+
license: llama2
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: codellama-adb-sdk
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# codellama-adb-sdk
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.9731
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0003
|
39 |
+
- train_batch_size: 4
|
40 |
+
- eval_batch_size: 4
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 16
|
44 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.1
|
47 |
+
- training_steps: 2000
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 0.2695 | 0.05 | 100 | 0.5778 |
|
54 |
+
| 0.0568 | 0.1 | 200 | 0.7456 |
|
55 |
+
| 0.0411 | 0.15 | 300 | 0.8092 |
|
56 |
+
| 0.0366 | 0.2 | 400 | 0.8567 |
|
57 |
+
| 0.032 | 0.25 | 500 | 0.8574 |
|
58 |
+
| 0.0256 | 0.3 | 600 | 0.8451 |
|
59 |
+
| 0.0258 | 0.35 | 700 | 0.8729 |
|
60 |
+
| 0.0245 | 0.4 | 800 | 0.8760 |
|
61 |
+
| 0.0222 | 0.45 | 900 | 0.8999 |
|
62 |
+
| 0.0199 | 0.5 | 1000 | 0.8617 |
|
63 |
+
| 0.0215 | 0.55 | 1100 | 0.9148 |
|
64 |
+
| 0.0226 | 0.6 | 1200 | 0.9237 |
|
65 |
+
| 0.0206 | 0.65 | 1300 | 0.9307 |
|
66 |
+
| 0.0209 | 0.7 | 1400 | 0.9392 |
|
67 |
+
| 0.0184 | 0.75 | 1500 | 0.9659 |
|
68 |
+
| 0.0189 | 0.8 | 1600 | 0.9492 |
|
69 |
+
| 0.0202 | 0.85 | 1700 | 0.9660 |
|
70 |
+
| 0.0192 | 0.9 | 1800 | 0.9668 |
|
71 |
+
| 0.0176 | 0.95 | 1900 | 0.9722 |
|
72 |
+
| 0.0186 | 1.0 | 2000 | 0.9731 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- PEFT 0.13.2.dev0
|
78 |
+
- Transformers 4.46.0.dev0
|
79 |
+
- Pytorch 2.4.1+cu121
|
80 |
+
- Datasets 3.0.1
|
81 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"exclude_modules": null,
|
7 |
+
"fan_in_fan_out": false,
|
8 |
+
"inference_mode": true,
|
9 |
+
"init_lora_weights": true,
|
10 |
+
"layer_replication": null,
|
11 |
+
"layers_pattern": null,
|
12 |
+
"layers_to_transform": null,
|
13 |
+
"loftq_config": {},
|
14 |
+
"lora_alpha": 64,
|
15 |
+
"lora_dropout": 0.1,
|
16 |
+
"megatron_config": null,
|
17 |
+
"megatron_core": "megatron.core",
|
18 |
+
"modules_to_save": null,
|
19 |
+
"peft_type": "LORA",
|
20 |
+
"r": 32,
|
21 |
+
"rank_pattern": {},
|
22 |
+
"revision": null,
|
23 |
+
"target_modules": [
|
24 |
+
"down_proj",
|
25 |
+
"up_proj",
|
26 |
+
"k_proj",
|
27 |
+
"q_proj",
|
28 |
+
"gate_proj",
|
29 |
+
"o_proj",
|
30 |
+
"v_proj"
|
31 |
+
],
|
32 |
+
"task_type": "CAUSAL_LM",
|
33 |
+
"use_dora": false,
|
34 |
+
"use_rslora": false
|
35 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da66c9d18554b9d1b89860cdd92bb00aec88c7d720171eb8b2a9e7a9f2fb78a1
|
3 |
+
size 319876032
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a4d51c9286712454ab40459a8047a3e4ff67c23a37ddb529cfbd0e343fe1642
|
3 |
+
size 5240
|