gouravsinha commited on
Commit
22c6e8b
1 Parent(s): b502d44

Model save

Browse files
Files changed (3) hide show
  1. README.md +63 -0
  2. generation_config.json +20 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-de-en
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - bleu
8
+ model-index:
9
+ - name: german_to_english
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # german_to_english
17
+
18
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-de-en](https://huggingface.co/Helsinki-NLP/opus-mt-de-en) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5712
21
+ - Bleu: 63.9999
22
+ - Gen Len: 7.0416
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 2
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
53
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
54
+ | 0.8374 | 1.0 | 385 | 0.6619 | 60.2542 | 7.054 |
55
+ | 0.4935 | 2.0 | 770 | 0.5712 | 63.9999 | 7.0416 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.38.2
61
+ - Pytorch 2.2.2+cu121
62
+ - Datasets 2.18.0
63
+ - Tokenizers 0.15.2
generation_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 58100
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 58100,
9
+ "do_sample": true,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "max_new_tokens": 20,
14
+ "num_beams": 4,
15
+ "pad_token_id": 0,
16
+ "renormalize_logits": true,
17
+ "temperature": 0,
18
+ "top_p": 0.7,
19
+ "transformers_version": "4.38.2"
20
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e8f70d2dd942860a13fd831b85c3c6acdaada849460cf30739219d2c2e6a502
3
  size 295806292
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3ab6438617e3c87e31d01da63599c8db5f688ac8c8223122e7042746362994a
3
  size 295806292