La1ya commited on
Commit
d8ad078
·
verified ·
1 Parent(s): d58adef

Model save

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. generation_config.json +16 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: Helsinki-NLP/opus-mt-en-hi
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: english-hindi-colloquial-translator
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # english-hindi-colloquial-translator
16
+
17
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-hi](https://huggingface.co/Helsinki-NLP/opus-mt-en-hi) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.4784
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0003
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
43
+ - total_train_batch_size: 8
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 2
47
+ - num_epochs: 10
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 8.9412 | 2.0 | 2 | 5.0895 |
55
+ | 3.1909 | 4.0 | 4 | 2.9272 |
56
+ | 1.9567 | 6.0 | 6 | 1.9364 |
57
+ | 1.3734 | 8.0 | 8 | 1.6456 |
58
+ | 1.0752 | 10.0 | 10 | 1.4784 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.48.3
64
+ - Pytorch 2.6.0+cu124
65
+ - Datasets 3.3.1
66
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61949
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61949,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61949,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.48.3"
16
+ }