alexandrualexandru
commited on
Commit
•
e8ff175
1
Parent(s):
257e294
End of training
Browse files- README.md +80 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
base_model: codellama/CodeLlama-13b-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: code-llama-13b-text-to-sparql
|
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-13b-text-to-sparql
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [codellama/CodeLlama-13b-hf](https://huggingface.co/codellama/CodeLlama-13b-hf) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.1870
|
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: 400
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|
|
53 |
+
| 1.1121 | 0.0710 | 20 | 1.0865 |
|
54 |
+
| 0.6067 | 0.1421 | 40 | 0.3437 |
|
55 |
+
| 0.2982 | 0.2131 | 60 | 0.2775 |
|
56 |
+
| 0.2433 | 0.2842 | 80 | 0.2465 |
|
57 |
+
| 0.2162 | 0.3552 | 100 | 0.2657 |
|
58 |
+
| 0.2308 | 0.4263 | 120 | 0.2303 |
|
59 |
+
| 0.2356 | 0.4973 | 140 | 0.2217 |
|
60 |
+
| 0.239 | 0.5684 | 160 | 0.2167 |
|
61 |
+
| 0.2159 | 0.6394 | 180 | 0.2112 |
|
62 |
+
| 0.2005 | 0.7105 | 200 | 0.2217 |
|
63 |
+
| 0.2177 | 0.7815 | 220 | 0.2070 |
|
64 |
+
| 0.2048 | 0.8526 | 240 | 0.2018 |
|
65 |
+
| 0.2092 | 0.9236 | 260 | 0.1976 |
|
66 |
+
| 0.2057 | 0.9947 | 280 | 0.1959 |
|
67 |
+
| 0.198 | 1.0657 | 300 | 0.1929 |
|
68 |
+
| 0.1988 | 1.1368 | 320 | 0.1908 |
|
69 |
+
| 0.1886 | 1.2078 | 340 | 0.1906 |
|
70 |
+
| 0.1927 | 1.2789 | 360 | 0.1883 |
|
71 |
+
| 0.1841 | 1.3499 | 380 | 0.1872 |
|
72 |
+
| 0.1863 | 1.4210 | 400 | 0.1870 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.41.2
|
78 |
+
- Pytorch 2.3.0+cu121
|
79 |
+
- Datasets 2.10.1
|
80 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "codellama/CodeLlama-13b-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:26afde766b3a3086046524ab9f50f7cddb8da6a5ef7345c8c315299ac70d5078
|
3 |
+
size 104973834
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17a712fe216f2c2953e93c23ed256812a4d16f4988bd4a77a25276cdd528c3ac
|
3 |
+
size 5176
|