alexandrualexandru
commited on
Commit
•
4432ce2
1
Parent(s):
e074496
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-7b-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: code-llama-sparql-lcquad-large-dbpedia
|
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-sparql-lcquad-large-dbpedia
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.2040
|
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.3087 | 0.0184 | 20 | 1.3391 |
|
54 |
+
| 1.0131 | 0.0368 | 40 | 0.7246 |
|
55 |
+
| 0.5023 | 0.0553 | 60 | 0.4406 |
|
56 |
+
| 0.4287 | 0.0737 | 80 | 0.3738 |
|
57 |
+
| 0.3432 | 0.0921 | 100 | 0.3530 |
|
58 |
+
| 0.2725 | 0.1105 | 120 | 0.3329 |
|
59 |
+
| 0.2539 | 0.1290 | 140 | 0.2888 |
|
60 |
+
| 0.2847 | 0.1474 | 160 | 0.2762 |
|
61 |
+
| 0.253 | 0.1658 | 180 | 0.2598 |
|
62 |
+
| 0.2168 | 0.1842 | 200 | 0.2480 |
|
63 |
+
| 0.2194 | 0.2027 | 220 | 0.2516 |
|
64 |
+
| 0.2123 | 0.2211 | 240 | 0.2300 |
|
65 |
+
| 0.2366 | 0.2395 | 260 | 0.2180 |
|
66 |
+
| 0.2129 | 0.2579 | 280 | 0.2181 |
|
67 |
+
| 0.2073 | 0.2764 | 300 | 0.2154 |
|
68 |
+
| 0.1992 | 0.2948 | 320 | 0.2086 |
|
69 |
+
| 0.2086 | 0.3132 | 340 | 0.2069 |
|
70 |
+
| 0.2237 | 0.3316 | 360 | 0.2056 |
|
71 |
+
| 0.1982 | 0.3501 | 380 | 0.2043 |
|
72 |
+
| 0.2039 | 0.3685 | 400 | 0.2040 |
|
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-7b-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:74534d1eb8aa9ff8938d2d123b767bb4869f919addca06346356784cf8854a9d
|
3 |
+
size 67201802
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb92842717a81da74c4e1667cdc66eedb53aeb96cb68ff069ee1c8631090a04c
|
3 |
+
size 5176
|