chenzhwsysu57 commited on
Commit
fce539c
1 Parent(s): 461da25

End of training

Browse files
Files changed (4) hide show
  1. README.md +77 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +2 -2
  4. training_args.bin +1 -1
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: t5-small
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - opus_books
8
+ metrics:
9
+ - bleu
10
+ model-index:
11
+ - name: my_awesome_opus_books_model
12
+ results:
13
+ - task:
14
+ name: Sequence-to-sequence Language Modeling
15
+ type: text2text-generation
16
+ dataset:
17
+ name: opus_books
18
+ type: opus_books
19
+ config: en-fr
20
+ split: train
21
+ args: en-fr
22
+ metrics:
23
+ - name: Bleu
24
+ type: bleu
25
+ value: 5.2349
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # my_awesome_opus_books_model
32
+
33
+ This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the opus_books dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 1.6669
36
+ - Bleu: 5.2349
37
+ - Gen Len: 17.6184
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 2e-05
57
+ - train_batch_size: 64
58
+ - eval_batch_size: 64
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 2
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
67
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
68
+ | 1.9307 | 1.0 | 1589 | 1.6894 | 5.0111 | 17.6243 |
69
+ | 1.8897 | 2.0 | 3178 | 1.6669 | 5.2349 | 17.6184 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.32.0
75
+ - Pytorch 2.0.1+cu117
76
+ - Datasets 2.14.4
77
+ - Tokenizers 0.13.3
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "eos_token_id": 1,
4
+ "pad_token_id": 0,
5
+ "transformers_version": "4.32.0"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:caaf3933a7e5b5f1fd4ad72bde30a8e2bd0e8caf27d00d45edd436d6a9d09a38
3
- size 242069785
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e30fbfdb876877a497ee889be52651fc38973353ab7613ebca484e03d9e40ee
3
+ size 242071641
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c811e21b950aa62b4d135aba1e3c951d6ce417b90165b99a3da7932e590722d
3
  size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42cb2aff1c1823fe403ab6766fd9b15edcd88c84db4eefc4338839c3ebe4552e
3
  size 4219