hongjing0312 commited on
Commit
7d686c4
·
1 Parent(s): a2acf82

End of training

Browse files
Files changed (3) hide show
  1. README.md +76 -0
  2. generation_config.json +16 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-es-en
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - opus_books
8
+ metrics:
9
+ - bleu
10
+ model-index:
11
+ - name: opus-mt-es-en-finetuned-en-to-es
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-es
20
+ split: train
21
+ args: en-es
22
+ metrics:
23
+ - name: Bleu
24
+ type: bleu
25
+ value: 8.4292
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
+ # opus-mt-es-en-finetuned-en-to-es
32
+
33
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-es-en](https://huggingface.co/Helsinki-NLP/opus-mt-es-en) on the opus_books dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 2.5874
36
+ - Bleu: 8.4292
37
+ - Gen Len: 45.9101
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: 16
58
+ - eval_batch_size: 16
59
+ - seed: 42
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - num_epochs: 1
63
+
64
+ ### Training results
65
+
66
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
67
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
68
+ | 2.7709 | 1.0 | 4674 | 2.5874 | 8.4292 | 45.9101 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.33.1
74
+ - Pytorch 2.0.1+cu118
75
+ - Datasets 2.14.5
76
+ - Tokenizers 0.13.3
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 65000
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 65000,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 65000,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.33.1"
16
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b47e3d75efdda8fe0de282cb774eb341118bc2418e6f419e0dd3ec8d812c20a0
3
  size 310022533
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b3690c28d70175ec81a35b24a71ec07914d530985311f07eec821d7a16bf4ad
3
  size 310022533