abdouaziiz commited on
Commit
71ab3e7
·
verified ·
1 Parent(s): 067515f

Model save

Browse files
Files changed (3) hide show
  1. README.md +66 -0
  2. generation_config.json +10 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: moore_MT
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
+ # moore_MT
18
+
19
+ This model is a fine-tuned version of [facebook/m2m100_418M](https://huggingface.co/facebook/m2m100_418M) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.4899
22
+ - Bleu: 7.7564
23
+ - Gen Len: 59.1124
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: 3e-05
43
+ - train_batch_size: 6
44
+ - eval_batch_size: 6
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 12
48
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 2500
51
+ - num_epochs: 24.0
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
57
+ |:-------------:|:-------:|:----:|:---------------:|:------:|:-------:|
58
+ | 1.3635 | 14.9925 | 5000 | 2.4899 | 7.7564 | 59.1124 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.46.0
64
+ - Pytorch 2.7.0+cu126
65
+ - Datasets 3.3.2
66
+ - Tokenizers 0.20.3
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.46.0"
10
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a061ed6f0833264373f247eb4ef248d798b3d29ef5c96abe5b4315bbe31b7f32
3
  size 1935681888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb9abace6517e1a6adcc962ca90239de67f5d96753d54430494e509e8cd97681
3
  size 1935681888