sinanazeri
commited on
Commit
•
b362b2a
1
Parent(s):
77cd2fa
granite-8b-code-instruct-TM1-tunned
Browse files- README.md +77 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: ibm-granite/granite-8b-code-instruct
|
7 |
+
model-index:
|
8 |
+
- name: peft-dialogue-summary-training-1716404262
|
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 |
+
# peft-dialogue-summary-training-1716404262
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [ibm-granite/granite-8b-code-instruct](https://huggingface.co/ibm-granite/granite-8b-code-instruct) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.5224
|
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.0002
|
39 |
+
- train_batch_size: 1
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 4
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 1
|
47 |
+
- training_steps: 400
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|
|
53 |
+
| 7.625 | 0.1453 | 25 | 5.7401 |
|
54 |
+
| 5.3519 | 0.2907 | 50 | 4.5831 |
|
55 |
+
| 4.2545 | 0.4360 | 75 | 3.8334 |
|
56 |
+
| 4.2506 | 0.5814 | 100 | 3.3488 |
|
57 |
+
| 3.5118 | 0.7267 | 125 | 2.8198 |
|
58 |
+
| 3.1713 | 0.8721 | 150 | 2.4324 |
|
59 |
+
| 2.5504 | 1.0174 | 175 | 2.3330 |
|
60 |
+
| 2.174 | 1.1628 | 200 | 2.2412 |
|
61 |
+
| 1.878 | 1.3081 | 225 | 2.1900 |
|
62 |
+
| 1.9039 | 1.4535 | 250 | 2.0439 |
|
63 |
+
| 1.7977 | 1.5988 | 275 | 1.9491 |
|
64 |
+
| 1.7755 | 1.7442 | 300 | 1.8278 |
|
65 |
+
| 1.629 | 1.8895 | 325 | 1.6587 |
|
66 |
+
| 1.5533 | 2.0349 | 350 | 1.5799 |
|
67 |
+
| 1.2937 | 2.1802 | 375 | 1.5344 |
|
68 |
+
| 1.1375 | 2.3256 | 400 | 1.5224 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- PEFT 0.11.1
|
74 |
+
- Transformers 4.41.0
|
75 |
+
- Pytorch 2.3.0+cu121
|
76 |
+
- Datasets 2.19.1
|
77 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "ibm-granite/granite-8b-code-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"q_proj",
|
25 |
+
"k_proj",
|
26 |
+
"dense"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee1502f2403f290549728f7379c09a17449c201f9416c2638ddd9c06ea30ae4c
|
3 |
+
size 84963736
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d71eb21a6919b210e71dcaea6c2ad6839a0e52e4c7d2f4e230d8bcd8f78ca034
|
3 |
+
size 5048
|