cartesinus commited on
Commit
8f9c584
1 Parent(s): 4d9b257

Add model, config, tokenizer, and custom code

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - iva_mt_wslot
7
+ metrics:
8
+ - bleu
9
+ model-index:
10
+ - name: seq2seq-imlla-test
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
+ # seq2seq-imlla-test
18
+
19
+ This model is a fine-tuned version of [](https://huggingface.co/) on the iva_mt_wslot dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 6.0838
22
+ - Bleu: 0.1564
23
+ - Gen Len: 7.7876
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: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 32
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 500
51
+ - num_epochs: 5
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
57
+ |:-------------:|:------:|:----:|:---------------:|:------:|:-------:|
58
+ | 7.381 | 0.9992 | 636 | 7.0427 | 0.0009 | 4.4319 |
59
+ | 6.5076 | 2.0 | 1273 | 6.4710 | 0.1178 | 12.0321 |
60
+ | 6.0729 | 2.9992 | 1909 | 6.2192 | 0.1097 | 8.2657 |
61
+ | 5.8922 | 4.0 | 2546 | 6.1254 | 0.1464 | 9.1024 |
62
+ | 5.7405 | 4.9961 | 3180 | 6.0838 | 0.1564 | 7.7876 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.44.2
68
+ - Pytorch 2.5.0+cu121
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CustomSeq2SeqModel"
4
+ ],
5
+ "bos_token_id": 0,
6
+ "dec_emb_dim": 256,
7
+ "decoder_start_token_id": 1,
8
+ "dropout": 0.1,
9
+ "enc_emb_dim": 256,
10
+ "eos_token_id": 2,
11
+ "hidden_dim": 256,
12
+ "max_position_embeddings": 256,
13
+ "model_type": "custom_seq2seq",
14
+ "n_layers": 3,
15
+ "num_attention_heads": 8,
16
+ "pad_token_id": 1,
17
+ "share_embeddings": false,
18
+ "torch_dtype": "float32",
19
+ "transformers_version": "4.44.2",
20
+ "vocab_size": 28297
21
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 1,
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.44.2"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaec370b26e0baba405b59911ef9b1b3b4ebaf4e23efc5558e94f51d22fb5c29
3
+ size 109582088
runs/Nov07_17-00-13_a7acbcf9565f/events.out.tfevents.1730998814.a7acbcf9565f.1654.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0320e520afad4da03078a259e0db66df94f978f839913b22d12bcbfa0a14f49
3
+ size 20281
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<bos>",
3
+ "eos_token": "<eos>",
4
+ "pad_token": "<pad>",
5
+ "unk_token": "<unk>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<bos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<eos>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
+ "bos_token": "<bos>",
37
+ "clean_up_tokenization_spaces": true,
38
+ "eos_token": "<eos>",
39
+ "model_max_length": 256,
40
+ "pad_token": "<pad>",
41
+ "tokenizer_class": "PreTrainedTokenizerFast",
42
+ "unk_token": "<unk>"
43
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:755599dcde2e330c7f603634715d07f5e72b285fb4719a689c6fad2302af3f3e
3
+ size 5368