ArierMiao commited on
Commit
cb61c99
1 Parent(s): 9099a8f

Training complete

Browse files
Files changed (5) hide show
  1. README.md +59 -0
  2. config.json +1 -1
  3. generation_config.json +16 -0
  4. model.safetensors +1 -1
  5. training_args.bin +1 -1
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-en-fr
4
+ tags:
5
+ - translation
6
+ - generated_from_trainer
7
+ datasets:
8
+ - kde4
9
+ model-index:
10
+ - name: marian-finetuned-kde4-en-to-fr
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
+ # marian-finetuned-kde4-en-to-fr
18
+
19
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-fr](https://huggingface.co/Helsinki-NLP/opus-mt-en-fr) on the kde4 dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - eval_loss: 1.6978
22
+ - eval_bleu: 39.2712
23
+ - eval_runtime: 558.844
24
+ - eval_samples_per_second: 37.61
25
+ - eval_steps_per_second: 0.295
26
+ - step: 0
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 64
47
+ - eval_batch_size: 128
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 3
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.40.2
57
+ - Pytorch 2.3.0+cu121
58
+ - Datasets 2.19.1
59
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -56,7 +56,7 @@
56
  "share_encoder_decoder_embeddings": true,
57
  "static_position_embeddings": true,
58
  "torch_dtype": "float32",
59
- "transformers_version": "4.40.1",
60
  "use_cache": true,
61
  "vocab_size": 59514
62
  }
 
56
  "share_encoder_decoder_embeddings": true,
57
  "static_position_embeddings": true,
58
  "torch_dtype": "float32",
59
+ "transformers_version": "4.40.2",
60
  "use_cache": true,
61
  "vocab_size": 59514
62
  }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 59513
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 59513,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 59513,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.40.2"
16
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb31b291e2759572b192eae6b6a288dbef3cf9f225b14b838e0a4906aeaa9e67
3
  size 298705768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ede839818461da667bc69127cc14b16be6af7785fa967a3de8c487d5a7b346c7
3
  size 298705768
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4674f5e6dd492f8f57f2d141278d12b5e7808c41e6bfb82f1b73d78bb4b46263
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4293951b785d5cb0d2a63cc948398d5b2a595930edcc1b9063ed935cce7ed909
3
  size 5176