Add readme
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- bleu
|
9 |
+
- sacrebleu
|
10 |
+
- rouge
|
11 |
+
model-index:
|
12 |
+
- name: CodeLlama-7b-Instruct-hf_En__size_52_epochs_10_2024-06-21_06-58-10_3556411
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# CodeLlama-7b-Instruct-hf_En__size_52_epochs_10_2024-06-21_06-58-10_3556411
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.6041
|
24 |
+
- Accuracy: 0.054
|
25 |
+
- Chrf: 0.699
|
26 |
+
- Bleu: 0.622
|
27 |
+
- Sacrebleu: 0.6
|
28 |
+
- Rouge1: 0.691
|
29 |
+
- Rouge2: 0.483
|
30 |
+
- Rougel: 0.637
|
31 |
+
- Rougelsum: 0.682
|
32 |
+
- Meteor: 0.56
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 0.001
|
52 |
+
- train_batch_size: 1
|
53 |
+
- eval_batch_size: 1
|
54 |
+
- seed: 3407
|
55 |
+
- distributed_type: multi-GPU
|
56 |
+
- num_devices: 4
|
57 |
+
- total_train_batch_size: 4
|
58 |
+
- total_eval_batch_size: 4
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-06
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- lr_scheduler_warmup_steps: 52
|
62 |
+
- training_steps: 520
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Chrf | Bleu | Sacrebleu | Rouge1 | Rouge2 | Rougel | Rougelsum | Meteor |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----:|:-----:|:---------:|:------:|:------:|:------:|:---------:|:------:|
|
68 |
+
| 0.1805 | 4.0 | 52 | 1.4057 | 0.058 | 0.674 | 0.548 | 0.5 | 0.651 | 0.411 | 0.596 | 0.643 | 0.529 |
|
69 |
+
| 0.9191 | 8.0 | 104 | 1.9644 | 0.05 | 0.619 | 0.49 | 0.5 | 0.593 | 0.36 | 0.55 | 0.588 | 0.503 |
|
70 |
+
| 0.3517 | 12.0 | 156 | 1.8542 | 0.052 | 0.628 | 0.526 | 0.5 | 0.63 | 0.407 | 0.582 | 0.625 | 0.522 |
|
71 |
+
| 0.4017 | 16.0 | 208 | 2.2165 | 0.057 | 0.565 | 0.428 | 0.4 | 0.529 | 0.276 | 0.474 | 0.523 | 0.462 |
|
72 |
+
| 0.324 | 20.0 | 260 | 1.8054 | 0.055 | 0.648 | 0.551 | 0.6 | 0.631 | 0.415 | 0.586 | 0.623 | 0.527 |
|
73 |
+
| 0.5071 | 24.0 | 312 | 1.7591 | 0.058 | 0.671 | 0.562 | 0.6 | 0.651 | 0.435 | 0.599 | 0.644 | 0.531 |
|
74 |
+
| 0.1758 | 28.0 | 364 | 1.6743 | 0.054 | 0.683 | 0.585 | 0.6 | 0.671 | 0.464 | 0.62 | 0.663 | 0.553 |
|
75 |
+
| 0.4696 | 32.0 | 416 | 1.6739 | 0.055 | 0.679 | 0.592 | 0.6 | 0.656 | 0.44 | 0.606 | 0.645 | 0.536 |
|
76 |
+
| 0.1516 | 36.0 | 468 | 1.6355 | 0.054 | 0.689 | 0.611 | 0.6 | 0.679 | 0.473 | 0.627 | 0.669 | 0.554 |
|
77 |
+
| 0.3236 | 40.0 | 520 | 1.6041 | 0.054 | 0.699 | 0.622 | 0.6 | 0.691 | 0.483 | 0.637 | 0.682 | 0.56 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.37.0
|
83 |
+
- Pytorch 2.2.1+cu121
|
84 |
+
- Datasets 2.20.0
|
85 |
+
- Tokenizers 0.15.2
|