End of training
Browse files- README.md +100 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: code-llama-instruct-7b-text-to-sparql-axiom
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# code-llama-instruct-7b-text-to-sparql-axiom
|
15 |
+
|
16 |
+
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.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.1333
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0003
|
38 |
+
- train_batch_size: 8
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 2
|
42 |
+
- total_train_batch_size: 16
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_steps: 100
|
46 |
+
- training_steps: 800
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|
|
53 |
+
| 1.3919 | 0.0710 | 20 | 1.3906 |
|
54 |
+
| 0.8712 | 0.1421 | 40 | 0.4591 |
|
55 |
+
| 0.2672 | 0.2131 | 60 | 0.2378 |
|
56 |
+
| 0.213 | 0.2842 | 80 | 0.2065 |
|
57 |
+
| 0.1697 | 0.3552 | 100 | 0.2208 |
|
58 |
+
| 0.2068 | 0.4263 | 120 | 0.1886 |
|
59 |
+
| 0.1808 | 0.4973 | 140 | 0.1843 |
|
60 |
+
| 0.2073 | 0.5684 | 160 | 0.1812 |
|
61 |
+
| 0.1833 | 0.6394 | 180 | 0.1735 |
|
62 |
+
| 0.1556 | 0.7105 | 200 | 0.1836 |
|
63 |
+
| 0.1813 | 0.7815 | 220 | 0.1688 |
|
64 |
+
| 0.166 | 0.8526 | 240 | 0.1642 |
|
65 |
+
| 0.1773 | 0.9236 | 260 | 0.1609 |
|
66 |
+
| 0.1514 | 0.9947 | 280 | 0.1597 |
|
67 |
+
| 0.1592 | 1.0657 | 300 | 0.1581 |
|
68 |
+
| 0.1632 | 1.1368 | 320 | 0.1552 |
|
69 |
+
| 0.1601 | 1.2078 | 340 | 0.1554 |
|
70 |
+
| 0.1529 | 1.2789 | 360 | 0.1523 |
|
71 |
+
| 0.1352 | 1.3499 | 380 | 0.1528 |
|
72 |
+
| 0.1601 | 1.4210 | 400 | 0.1496 |
|
73 |
+
| 0.1523 | 1.4920 | 420 | 0.1482 |
|
74 |
+
| 0.1568 | 1.5631 | 440 | 0.1482 |
|
75 |
+
| 0.1598 | 1.6341 | 460 | 0.1461 |
|
76 |
+
| 0.1432 | 1.7052 | 480 | 0.1471 |
|
77 |
+
| 0.158 | 1.7762 | 500 | 0.1430 |
|
78 |
+
| 0.1479 | 1.8472 | 520 | 0.1422 |
|
79 |
+
| 0.1488 | 1.9183 | 540 | 0.1429 |
|
80 |
+
| 0.1422 | 1.9893 | 560 | 0.1397 |
|
81 |
+
| 0.149 | 2.0604 | 580 | 0.1391 |
|
82 |
+
| 0.1352 | 2.1314 | 600 | 0.1381 |
|
83 |
+
| 0.1357 | 2.2025 | 620 | 0.1389 |
|
84 |
+
| 0.1519 | 2.2735 | 640 | 0.1369 |
|
85 |
+
| 0.1321 | 2.3446 | 660 | 0.1367 |
|
86 |
+
| 0.1381 | 2.4156 | 680 | 0.1361 |
|
87 |
+
| 0.1362 | 2.4867 | 700 | 0.1349 |
|
88 |
+
| 0.1329 | 2.5577 | 720 | 0.1351 |
|
89 |
+
| 0.1457 | 2.6288 | 740 | 0.1340 |
|
90 |
+
| 0.1267 | 2.6998 | 760 | 0.1336 |
|
91 |
+
| 0.1433 | 2.7709 | 780 | 0.1335 |
|
92 |
+
| 0.1343 | 2.8419 | 800 | 0.1333 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.41.2
|
98 |
+
- Pytorch 2.3.0+cu121
|
99 |
+
- Datasets 2.10.1
|
100 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "codellama/CodeLlama-7b-Instruct-hf",
|
3 |
+
"bias": "none",
|
4 |
+
"enable_lora": null,
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"lora_alpha": 16,
|
9 |
+
"lora_dropout": 0.05,
|
10 |
+
"merge_weights": false,
|
11 |
+
"modules_to_save": null,
|
12 |
+
"peft_type": "LORA",
|
13 |
+
"r": 16,
|
14 |
+
"target_modules": [
|
15 |
+
"q_proj",
|
16 |
+
"k_proj",
|
17 |
+
"v_proj",
|
18 |
+
"o_proj"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e43641353090f1515e841fbb267783240c3696f28aeb33c52e226395edcb1142
|
3 |
+
size 67201802
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:daee73159743ca43e7ad18ad31ab47ab9d1ba16b29612d12014e9985b5e98277
|
3 |
+
size 5176
|