ZZZZCCCC commited on
Commit
c3b942d
1 Parent(s): ef4b9b7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Salesforce/codet5-small
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: Codet5
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
+ # Codet5
15
+
16
+ This model is a fine-tuned version of [Salesforce/codet5-small](https://huggingface.co/Salesforce/codet5-small) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.4498
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: 0.0001
38
+ - train_batch_size: 12
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 5
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | No log | 1.0 | 9 | 1.2151 |
51
+ | No log | 2.0 | 18 | 0.9257 |
52
+ | No log | 3.0 | 27 | 0.6283 |
53
+ | No log | 4.0 | 36 | 0.5134 |
54
+ | No log | 5.0 | 45 | 0.4498 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.40.0
60
+ - Pytorch 2.2.1+cu121
61
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Salesforce/codet5-small",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "classifier_dropout": 0.0,
8
+ "d_ff": 2048,
9
+ "d_kv": 64,
10
+ "d_model": 512,
11
+ "decoder_start_token_id": 0,
12
+ "dense_act_fn": "relu",
13
+ "dropout_rate": 0.1,
14
+ "eos_token_id": 2,
15
+ "feed_forward_proj": "relu",
16
+ "gradient_checkpointing": false,
17
+ "id2label": {
18
+ "0": "LABEL_0"
19
+ },
20
+ "initializer_factor": 1.0,
21
+ "is_encoder_decoder": true,
22
+ "is_gated_act": false,
23
+ "label2id": {
24
+ "LABEL_0": 0
25
+ },
26
+ "layer_norm_epsilon": 1e-06,
27
+ "model_type": "t5",
28
+ "n_positions": 512,
29
+ "num_decoder_layers": 6,
30
+ "num_heads": 8,
31
+ "num_layers": 6,
32
+ "output_past": true,
33
+ "pad_token_id": 0,
34
+ "relative_attention_max_distance": 128,
35
+ "relative_attention_num_buckets": 32,
36
+ "task_specific_params": {
37
+ "summarization": {
38
+ "early_stopping": true,
39
+ "length_penalty": 2.0,
40
+ "max_length": 200,
41
+ "min_length": 30,
42
+ "no_repeat_ngram_size": 3,
43
+ "num_beams": 4,
44
+ "prefix": "summarize: "
45
+ },
46
+ "translation_en_to_de": {
47
+ "early_stopping": true,
48
+ "max_length": 300,
49
+ "num_beams": 4,
50
+ "prefix": "translate English to German: "
51
+ },
52
+ "translation_en_to_fr": {
53
+ "early_stopping": true,
54
+ "max_length": 300,
55
+ "num_beams": 4,
56
+ "prefix": "translate English to French: "
57
+ },
58
+ "translation_en_to_ro": {
59
+ "early_stopping": true,
60
+ "max_length": 300,
61
+ "num_beams": 4,
62
+ "prefix": "translate English to Romanian: "
63
+ }
64
+ },
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.40.0",
67
+ "use_cache": true,
68
+ "vocab_size": 32100
69
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.40.0"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6babe3c6bf65cc85c9405ecf6b47f37c2a6dcfa86833751022c4a6f75c34da30
3
+ size 241984552
runs/Apr27_21-50-37_d1e1ee9cbe01/events.out.tfevents.1714254642.d1e1ee9cbe01.297.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:906afba93209be3996261c57d5e4a59ddc1f1cde3412858a8852f3b664db457b
3
+ size 5661
runs/Apr27_21-57-30_d1e1ee9cbe01/events.out.tfevents.1714255055.d1e1ee9cbe01.297.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03c91c521634208af5ca25510cb9a123ad69b859238ef145a8edb574cba9ba70
3
+ size 5661
runs/Apr27_21-59-48_d1e1ee9cbe01/events.out.tfevents.1714255196.d1e1ee9cbe01.297.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f01db3f27462b01d392a90c2b4d1de402759d2d57d33ba008fc2568e3a6886c
3
+ size 5661
runs/Apr27_22-00-17_d1e1ee9cbe01/events.out.tfevents.1714255222.d1e1ee9cbe01.297.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b1d2f20567d85eff0548a795ab9798c6c3d545e481b6b1b186a69528217d4dd
3
+ size 5661
runs/Apr27_22-03-07_d1e1ee9cbe01/events.out.tfevents.1714255393.d1e1ee9cbe01.297.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbd3970da062dcdec00bedd5198ee8321478c692c51fc2df35a42327398a479c
3
+ size 5661
runs/Apr27_22-03-42_d1e1ee9cbe01/events.out.tfevents.1714255430.d1e1ee9cbe01.297.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43233e7edce207d0727f6026073980158102e5ca2830111ffa269f8bb60c3dc9
3
+ size 5661
runs/Apr27_22-04-52_d1e1ee9cbe01/events.out.tfevents.1714255498.d1e1ee9cbe01.297.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:751e8dc466b75e1edae951d8112671058c9edaf9325a415e08da74f0c85d1a25
3
+ size 5661
runs/Apr27_22-16-29_d1e1ee9cbe01/events.out.tfevents.1714256193.d1e1ee9cbe01.297.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23de9f54e3b797395cbca4fa4b8a62cc01f9033239a8794a055ad9769f2390a9
3
+ size 5662
runs/Apr27_22-17-24_d1e1ee9cbe01/events.out.tfevents.1714256252.d1e1ee9cbe01.297.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e287d1871e34ec77ca6a94e6cdbb493399422294a1eb52f2cddede0d810a4753
3
+ size 5662
runs/Apr27_22-21-12_d1e1ee9cbe01/events.out.tfevents.1714256480.d1e1ee9cbe01.297.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a4584f54171a1b3223f021d7b13596c013986f22b786df54c6ddd2a8f6b40f1
3
+ size 5662
runs/Apr27_22-26-03_d1e1ee9cbe01/events.out.tfevents.1714256771.d1e1ee9cbe01.297.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de105dfba2a9394bda681936d31ff29c613c81fc65557f7404b5cdaaaad7875b
3
+ size 5662
runs/Apr27_22-26-31_d1e1ee9cbe01/events.out.tfevents.1714256800.d1e1ee9cbe01.297.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:082d8f466d4e15421af3bb81cd45119155ad8346e1ea1f237d593e27cae22ee1
3
+ size 5662
runs/Apr27_22-54-07_d1e1ee9cbe01/events.out.tfevents.1714258455.d1e1ee9cbe01.297.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dafac1d76668406adb1326b7308b7b4859cf555c30759187c895d61ec638e64
3
+ size 5662
runs/Apr27_22-55-04_d1e1ee9cbe01/events.out.tfevents.1714258512.d1e1ee9cbe01.297.13 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7834175904efb78607ac0aab1d46ef40a79dcde8ecfdf687f4b8756f9c06cb4
3
+ size 6194
runs/Apr27_22-56-04_d1e1ee9cbe01/events.out.tfevents.1714258573.d1e1ee9cbe01.297.14 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee3e5a61b5759979063089cc61173b982dde490ba1368f7087e4674c65a74897
3
+ size 7340
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:084126355ba21d981607ac4521423e2b470783cf5f263e13eacad73e9e31ef7c
3
+ size 5048