End of training
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- code_search_net
|
10 |
+
base_model: petals-team/falcon-rw-1b
|
11 |
+
model-index:
|
12 |
+
- name: falcon-code-generation
|
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 |
+
# falcon-code-generation
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [petals-team/falcon-rw-1b](https://huggingface.co/petals-team/falcon-rw-1b) on the code_search_net dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.9946
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 2
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 4
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: cosine
|
50 |
+
- lr_scheduler_warmup_ratio: 0.03
|
51 |
+
- training_steps: 320
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
57 |
+
| 1.2494 | 0.01 | 20 | 1.2566 |
|
58 |
+
| 1.2362 | 0.02 | 40 | 1.1664 |
|
59 |
+
| 1.3029 | 0.03 | 60 | 1.1197 |
|
60 |
+
| 1.1248 | 0.04 | 80 | 1.0829 |
|
61 |
+
| 1.2031 | 0.04 | 100 | 1.0871 |
|
62 |
+
| 1.0559 | 0.05 | 120 | 1.0503 |
|
63 |
+
| 1.1049 | 0.06 | 140 | 1.0452 |
|
64 |
+
| 1.1459 | 0.07 | 160 | 1.0415 |
|
65 |
+
| 1.0521 | 0.08 | 180 | 1.0262 |
|
66 |
+
| 1.2023 | 0.09 | 200 | 1.0233 |
|
67 |
+
| 0.9935 | 0.1 | 220 | 1.0112 |
|
68 |
+
| 1.016 | 0.11 | 240 | 1.0035 |
|
69 |
+
| 1.1182 | 0.12 | 260 | 0.9993 |
|
70 |
+
| 1.0044 | 0.12 | 280 | 0.9957 |
|
71 |
+
| 1.0908 | 0.13 | 300 | 0.9949 |
|
72 |
+
| 0.9208 | 0.14 | 320 | 0.9946 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- PEFT 0.10.0
|
78 |
+
- Transformers 4.38.2
|
79 |
+
- Pytorch 2.2.1+cu121
|
80 |
+
- Datasets 2.18.0
|
81 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 100690288
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c69e665c748ef1dabc03b0d81596707a999f4c7cf9e39ee3682d3bc95db1c92d
|
3 |
size 100690288
|
runs/Apr09_10-49-27_3c68b3ea667f/events.out.tfevents.1712659790.3c68b3ea667f.314.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:120a97465c3deca4a218053b9914151a8217eb6c131e19fab5b3a456567f7968
|
3 |
+
size 13752
|