HuyTran1301 commited on
Commit
60a4223
·
verified ·
1 Parent(s): fde02bb

Model save

Browse files
Files changed (3) hide show
  1. README.md +75 -0
  2. generation_config.json +7 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: bsd-3-clause
4
+ base_model: Salesforce/codet5p-220m
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: constrative_faiss_v2
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # constrative_faiss_v2
18
+
19
+ This model is a fine-tuned version of [Salesforce/codet5p-220m](https://huggingface.co/Salesforce/codet5p-220m) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 3.3539
22
+ - Rouge1: 21.4629
23
+ - Rouge2: 8.781
24
+ - Rougel: 19.3981
25
+ - Rougelsum: 20.0634
26
+ - Gen Len: 14.8
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 12
47
+ - eval_batch_size: 12
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 32
50
+ - total_train_batch_size: 384
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 8
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
59
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:|
60
+ | No log | 1.0 | 1 | 4.0805 | 2.9231 | 0.0 | 2.6635 | 2.6442 | 20.0 |
61
+ | No log | 2.0 | 2 | 3.7128 | 12.6859 | 4.5992 | 11.8258 | 12.5583 | 19.35 |
62
+ | No log | 3.0 | 3 | 3.4877 | 16.8517 | 8.4744 | 16.038 | 16.5316 | 18.35 |
63
+ | No log | 4.0 | 4 | 3.3881 | 18.7157 | 7.4343 | 16.8165 | 17.7776 | 16.9 |
64
+ | No log | 5.0 | 5 | 3.3881 | 18.7157 | 7.4343 | 16.8165 | 17.7776 | 16.9 |
65
+ | No log | 6.0 | 6 | 3.3675 | 20.9949 | 8.5536 | 19.7058 | 20.0583 | 15.1 |
66
+ | No log | 7.0 | 7 | 3.3574 | 20.5585 | 8.5854 | 18.6151 | 19.2469 | 15.25 |
67
+ | No log | 8.0 | 8 | 3.3539 | 21.4629 | 8.781 | 19.3981 | 20.0634 | 14.8 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.55.4
73
+ - Pytorch 2.8.0+cu128
74
+ - Datasets 4.0.0
75
+ - Tokenizers 0.21.4
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.55.4"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:05ba54499b2630c2e0977902b86c7a61c267da87fb9ed82a50622836a4f294bd
3
  size 893924392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a9659e6320ae32be35dabab5b751f25956dc4a8235a04b3b77eceacad1dd28f
3
  size 893924392