shamim237 commited on
Commit
bb33038
1 Parent(s): 47498d5

Upload model

Browse files
Files changed (3) hide show
  1. README.md +63 -0
  2. config.json +60 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: it-en-model
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # it-en-model
14
+
15
+ This model is a fine-tuned version of [Helsinki-NLP/opus-mt-it-en](https://huggingface.co/Helsinki-NLP/opus-mt-it-en) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.0762
18
+ - Train Acc: 0.4615
19
+ - Validation Loss: 0.1674
20
+ - Validation Acc: 0.4489
21
+ - Epoch: 8
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Train Acc | Validation Loss | Validation Acc | Epoch |
46
+ |:----------:|:---------:|:---------------:|:--------------:|:-----:|
47
+ | 0.2335 | 0.4419 | 0.1955 | 0.4417 | 0 |
48
+ | 0.1760 | 0.4484 | 0.1788 | 0.4441 | 1 |
49
+ | 0.1466 | 0.4519 | 0.1715 | 0.4456 | 2 |
50
+ | 0.1263 | 0.4546 | 0.1666 | 0.4466 | 3 |
51
+ | 0.1109 | 0.4564 | 0.1645 | 0.4473 | 4 |
52
+ | 0.0992 | 0.4589 | 0.1639 | 0.4478 | 5 |
53
+ | 0.0898 | 0.4605 | 0.1658 | 0.4485 | 6 |
54
+ | 0.0824 | 0.4610 | 0.1657 | 0.4488 | 7 |
55
+ | 0.0762 | 0.4615 | 0.1674 | 0.4489 | 8 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.24.0
61
+ - TensorFlow 2.9.2
62
+ - Datasets 2.6.1
63
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-it-en",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 80378
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 80378,
26
+ "decoder_vocab_size": 80379,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 80378,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.24.0",
58
+ "use_cache": true,
59
+ "vocab_size": 80379
60
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ff9251ef875d81ad5edd173c244b61bfd4ee81493686b619549c1e531612679
3
+ size 343876316