justinian336 commited on
Commit
7feb2a1
1 Parent(s): ccc4d0b

Upload model

Browse files
Files changed (3) hide show
  1. README.md +56 -0
  2. config.json +185 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: salvadoran-news-summarization
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # salvadoran-news-summarization
13
+
14
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Train Loss: 1.7213
17
+ - Train Accuracy: 0.4517
18
+ - Validation Loss: 2.1308
19
+ - Validation Accuracy: 0.4258
20
+ - Epoch: 2
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - 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}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
45
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
46
+ | 2.4914 | 0.3736 | 2.3061 | 0.3997 | 0 |
47
+ | 2.0334 | 0.4175 | 2.1634 | 0.4181 | 1 |
48
+ | 1.7213 | 0.4517 | 2.1308 | 0.4258 | 2 |
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.25.1
54
+ - TensorFlow 2.9.2
55
+ - Datasets 2.7.1
56
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "EncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "/tmp/tmp028uijf7",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "BertLMHeadModel"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "classifier_dropout": null,
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "directionality": "bidi",
21
+ "diversity_penalty": 0.0,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": null,
26
+ "exponential_decay_length_penalty": null,
27
+ "finetuning_task": null,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "hidden_act": "gelu",
31
+ "hidden_dropout_prob": 0.1,
32
+ "hidden_size": 768,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 3072,
39
+ "is_decoder": true,
40
+ "is_encoder_decoder": false,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1
44
+ },
45
+ "layer_norm_eps": 1e-12,
46
+ "length_penalty": 1.0,
47
+ "max_length": 20,
48
+ "max_position_embeddings": 512,
49
+ "min_length": 0,
50
+ "model_type": "bert",
51
+ "no_repeat_ngram_size": 0,
52
+ "num_attention_heads": 12,
53
+ "num_beam_groups": 1,
54
+ "num_beams": 1,
55
+ "num_hidden_layers": 12,
56
+ "num_return_sequences": 1,
57
+ "output_attentions": false,
58
+ "output_hidden_states": false,
59
+ "output_scores": false,
60
+ "pad_token_id": 0,
61
+ "pooler_fc_size": 768,
62
+ "pooler_num_attention_heads": 12,
63
+ "pooler_num_fc_layers": 3,
64
+ "pooler_size_per_head": 128,
65
+ "pooler_type": "first_token_transform",
66
+ "position_embedding_type": "absolute",
67
+ "prefix": null,
68
+ "problem_type": null,
69
+ "pruned_heads": {},
70
+ "remove_invalid_values": false,
71
+ "repetition_penalty": 1.0,
72
+ "return_dict": true,
73
+ "return_dict_in_generate": false,
74
+ "sep_token_id": null,
75
+ "suppress_tokens": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tf_legacy_loss": false,
79
+ "tie_encoder_decoder": false,
80
+ "tie_word_embeddings": true,
81
+ "tokenizer_class": null,
82
+ "top_k": 50,
83
+ "top_p": 1.0,
84
+ "torch_dtype": "float32",
85
+ "torchscript": false,
86
+ "transformers_version": "4.25.1",
87
+ "type_vocab_size": 2,
88
+ "typical_p": 1.0,
89
+ "use_bfloat16": false,
90
+ "use_cache": true,
91
+ "vocab_size": 105879
92
+ },
93
+ "decoder_start_token_id": 0,
94
+ "encoder": {
95
+ "_name_or_path": "/tmp/tmpytifvogo",
96
+ "add_cross_attention": false,
97
+ "architectures": [
98
+ "BertModel"
99
+ ],
100
+ "attention_probs_dropout_prob": 0.1,
101
+ "bad_words_ids": null,
102
+ "begin_suppress_tokens": null,
103
+ "bos_token_id": null,
104
+ "chunk_size_feed_forward": 0,
105
+ "classifier_dropout": null,
106
+ "cross_attention_hidden_size": null,
107
+ "decoder_start_token_id": null,
108
+ "directionality": "bidi",
109
+ "diversity_penalty": 0.0,
110
+ "do_sample": false,
111
+ "early_stopping": false,
112
+ "encoder_no_repeat_ngram_size": 0,
113
+ "eos_token_id": null,
114
+ "exponential_decay_length_penalty": null,
115
+ "finetuning_task": null,
116
+ "forced_bos_token_id": null,
117
+ "forced_eos_token_id": null,
118
+ "hidden_act": "gelu",
119
+ "hidden_dropout_prob": 0.1,
120
+ "hidden_size": 768,
121
+ "id2label": {
122
+ "0": "LABEL_0",
123
+ "1": "LABEL_1"
124
+ },
125
+ "initializer_range": 0.02,
126
+ "intermediate_size": 3072,
127
+ "is_decoder": false,
128
+ "is_encoder_decoder": false,
129
+ "label2id": {
130
+ "LABEL_0": 0,
131
+ "LABEL_1": 1
132
+ },
133
+ "layer_norm_eps": 1e-12,
134
+ "length_penalty": 1.0,
135
+ "max_length": 20,
136
+ "max_position_embeddings": 512,
137
+ "min_length": 0,
138
+ "model_type": "bert",
139
+ "no_repeat_ngram_size": 0,
140
+ "num_attention_heads": 12,
141
+ "num_beam_groups": 1,
142
+ "num_beams": 1,
143
+ "num_hidden_layers": 12,
144
+ "num_return_sequences": 1,
145
+ "output_attentions": false,
146
+ "output_hidden_states": false,
147
+ "output_scores": false,
148
+ "pad_token_id": 0,
149
+ "pooler_fc_size": 768,
150
+ "pooler_num_attention_heads": 12,
151
+ "pooler_num_fc_layers": 3,
152
+ "pooler_size_per_head": 128,
153
+ "pooler_type": "first_token_transform",
154
+ "position_embedding_type": "absolute",
155
+ "prefix": null,
156
+ "problem_type": null,
157
+ "pruned_heads": {},
158
+ "remove_invalid_values": false,
159
+ "repetition_penalty": 1.0,
160
+ "return_dict": true,
161
+ "return_dict_in_generate": false,
162
+ "sep_token_id": null,
163
+ "suppress_tokens": null,
164
+ "task_specific_params": null,
165
+ "temperature": 1.0,
166
+ "tf_legacy_loss": false,
167
+ "tie_encoder_decoder": false,
168
+ "tie_word_embeddings": true,
169
+ "tokenizer_class": null,
170
+ "top_k": 50,
171
+ "top_p": 1.0,
172
+ "torch_dtype": "float32",
173
+ "torchscript": false,
174
+ "transformers_version": "4.25.1",
175
+ "type_vocab_size": 2,
176
+ "typical_p": 1.0,
177
+ "use_bfloat16": false,
178
+ "use_cache": true,
179
+ "vocab_size": 105879
180
+ },
181
+ "is_encoder_decoder": true,
182
+ "model_type": "encoder-decoder",
183
+ "pad_token_id": 0,
184
+ "transformers_version": null
185
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:124a7711a40aeb2c3228615073dcb5fd285b0447c06dd81322a16f0e5aa5d4ca
3
+ size 1453448836