sophiebui commited on
Commit
687acab
·
verified ·
1 Parent(s): 9d22485

Model save

Browse files
Files changed (3) hide show
  1. README.md +64 -0
  2. generation_config.json +10 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: facebook/m2m100_418M
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - bleu
9
+ model-index:
10
+ - name: ru-en_mtmodel
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
+ # ru-en_mtmodel
18
+
19
+ This model is a fine-tuned version of [facebook/m2m100_418M](https://huggingface.co/facebook/m2m100_418M) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2755
22
+ - Bleu: 70.991
23
+ - Gen Len: 11.4903
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 3
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
53
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
54
+ | 0.3823 | 1.0 | 15389 | 0.3364 | 66.7745 | 11.4427 |
55
+ | 0.2888 | 2.0 | 30778 | 0.2932 | 69.5309 | 11.4803 |
56
+ | 0.2336 | 3.0 | 46167 | 0.2755 | 70.991 | 11.4903 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.45.2
62
+ - Pytorch 2.4.1+cu121
63
+ - Datasets 3.0.1
64
+ - Tokenizers 0.20.1
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "max_length": 200,
7
+ "num_beams": 5,
8
+ "pad_token_id": 1,
9
+ "transformers_version": "4.45.2"
10
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:62d0ece8621be4f80e38b2bd5ca84fc5431cafd5625bfe763aa8ce5b4a7f7c7e
3
  size 1935681888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60d20cecda3e41a3784c0e2f30cea3f7c268fa8667765b5d94fbff89d8ebaa86
3
  size 1935681888