MarioPenguin commited on
Commit
7f293a3
1 Parent(s): 06fce51
Files changed (3) hide show
  1. README.md +63 -0
  2. config.json +26 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: beto_amazon_final_posneg
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
+ # beto_amazon_final_posneg
13
+
14
+ This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-uncased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Train Loss: 0.1429
17
+ - Train Accuracy: 0.9510
18
+ - Validation Loss: 0.2942
19
+ - Validation Accuracy: 0.8913
20
+ - Epoch: 9
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': 'Adam', 'learning_rate': 5e-07, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
45
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
46
+ | 0.6474 | 0.6545 | 0.5618 | 0.7893 | 0 |
47
+ | 0.4576 | 0.8360 | 0.3672 | 0.8560 | 1 |
48
+ | 0.3088 | 0.8925 | 0.3096 | 0.8752 | 2 |
49
+ | 0.2529 | 0.9028 | 0.2888 | 0.8855 | 3 |
50
+ | 0.2177 | 0.9168 | 0.2876 | 0.8865 | 4 |
51
+ | 0.1973 | 0.9280 | 0.2921 | 0.8865 | 5 |
52
+ | 0.1792 | 0.9373 | 0.2844 | 0.8903 | 6 |
53
+ | 0.1686 | 0.9423 | 0.2859 | 0.8898 | 7 |
54
+ | 0.1525 | 0.9480 | 0.2884 | 0.8917 | 8 |
55
+ | 0.1429 | 0.9510 | 0.2942 | 0.8913 | 9 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.17.0
61
+ - TensorFlow 2.8.0
62
+ - Datasets 1.18.3
63
+ - Tokenizers 0.11.6
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dccuchile/bert-base-spanish-wwm-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.5,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "output_past": true,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "transformers_version": "4.17.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 31002
26
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a602986d0e7621851afa911e76d8e42d0d01bebb4d7790463d055a36e2b6f84b
3
+ size 439697752