limernyou commited on
Commit
1b58c8b
·
verified ·
1 Parent(s): 39008c6

Model save

Browse files
Files changed (3) hide show
  1. README.md +83 -0
  2. adapter_config.json +36 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: bigcode-openrail-m
4
+ base_model: bigcode/starcoderbase-1b
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: peft-starcoder-lora-a100
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-starcoder-lora-a100
16
+
17
+ This model is a fine-tuned version of [bigcode/starcoderbase-1b](https://huggingface.co/bigcode/starcoderbase-1b) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.1557
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.0005
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 8
44
+ - total_train_batch_size: 64
45
+ - total_eval_batch_size: 64
46
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: cosine
48
+ - lr_scheduler_warmup_steps: 30
49
+ - training_steps: 2000
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:----:|:---------------:|
55
+ | 0.9702 | 0.05 | 100 | 0.9343 |
56
+ | 0.8928 | 0.1 | 200 | 0.9666 |
57
+ | 0.5992 | 0.15 | 300 | 0.9979 |
58
+ | 0.8611 | 0.2 | 400 | 1.0115 |
59
+ | 0.7631 | 0.25 | 500 | 1.0335 |
60
+ | 0.7289 | 0.3 | 600 | 1.0624 |
61
+ | 0.7408 | 0.35 | 700 | 1.0725 |
62
+ | 0.5599 | 0.4 | 800 | 1.0900 |
63
+ | 0.7736 | 0.45 | 900 | 1.0943 |
64
+ | 0.7176 | 0.5 | 1000 | 1.1147 |
65
+ | 0.4677 | 0.55 | 1100 | 1.1284 |
66
+ | 0.6916 | 0.6 | 1200 | 1.1149 |
67
+ | 0.5944 | 0.65 | 1300 | 1.1357 |
68
+ | 0.66 | 0.7 | 1400 | 1.1425 |
69
+ | 0.6722 | 0.75 | 1500 | 1.1408 |
70
+ | 0.4843 | 0.8 | 1600 | 1.1575 |
71
+ | 0.742 | 0.85 | 1700 | 1.1553 |
72
+ | 0.6307 | 0.9 | 1800 | 1.1540 |
73
+ | 0.5652 | 0.95 | 1900 | 1.1576 |
74
+ | 0.6771 | 1.0 | 2000 | 1.1557 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - PEFT 0.15.2
80
+ - Transformers 4.51.3
81
+ - Pytorch 2.6.0+cu124
82
+ - Datasets 3.2.0
83
+ - Tokenizers 0.21.1
adapter_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "bigcode/starcoderbase-1b",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 32,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 8,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "q_attn",
28
+ "c_fc",
29
+ "c_attn",
30
+ "c_proj"
31
+ ],
32
+ "task_type": "CAUSAL_LM",
33
+ "trainable_token_indices": null,
34
+ "use_dora": false,
35
+ "use_rslora": false
36
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d23397679799728fba8585b92b965c90b449aa694c65a0eb1d00b05b5fd1f138
3
+ size 22241240