alphahg commited on
Commit
d1fc21c
1 Parent(s): 41b2f4b

End of training

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. adapter_config.json +27 -0
  3. adapter_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama2
3
+ base_model: codellama/CodeLlama-7b-hf
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: llama2-7b-rust-finetune
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
+ # llama2-7b-rust-finetune
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.5347
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: 2.5e-05
38
+ - train_batch_size: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 1
44
+ - training_steps: 500
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | No log | 0.0 | 100 | 0.5443 |
51
+ | No log | 0.01 | 200 | 0.5385 |
52
+ | No log | 0.01 | 300 | 0.5362 |
53
+ | No log | 0.01 | 400 | 0.5351 |
54
+ | 0.5389 | 0.02 | 500 | 0.5347 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.34.0
60
+ - Pytorch 2.0.1+cu118
61
+ - Datasets 2.14.5
62
+ - Tokenizers 0.14.1
adapter_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "codellama/CodeLlama-7b-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 64,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 32,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "k_proj",
19
+ "v_proj",
20
+ "o_proj",
21
+ "gate_proj",
22
+ "up_proj",
23
+ "down_proj",
24
+ "lm_head"
25
+ ],
26
+ "task_type": "CAUSAL_LM"
27
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:174db6a722733c2cd43cea3f045c02550169b1c9ca45f3061ce1767242925782
3
+ size 324600213
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1adddc78fd7e558c79aa23c790a5591959043847567173e152ad417440e571b
3
+ size 4027