irianbsb commited on
Commit
972a86f
1 Parent(s): e247761

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +55 -0
  2. config.json +50 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Geotrend/distilbert-base-pt-cased
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: distilbert-pt-cased-redacao-nota
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # distilbert-pt-cased-redacao-nota
15
+
16
+ This model is a fine-tuned version of [Geotrend/distilbert-base-pt-cased](https://huggingface.co/Geotrend/distilbert-base-pt-cased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 1.6894
19
+ - Validation Loss: 1.6386
20
+ - Epoch: 1
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', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 456, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 1.8953 | 1.7288 | 0 |
47
+ | 1.6894 | 1.6386 | 1 |
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.42.4
53
+ - TensorFlow 2.17.0
54
+ - Datasets 2.20.0
55
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Geotrend/distilbert-base-pt-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "0",
13
+ "1": "1",
14
+ "2": "2",
15
+ "3": "3",
16
+ "4": "4",
17
+ "5": "5",
18
+ "6": "6",
19
+ "7": "7",
20
+ "8": "8",
21
+ "9": "9",
22
+ "10": "10"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "label2id": {
26
+ "0": 0,
27
+ "1": 1,
28
+ "10": 10,
29
+ "2": 2,
30
+ "3": 3,
31
+ "4": 4,
32
+ "5": 5,
33
+ "6": 6,
34
+ "7": 7,
35
+ "8": 8,
36
+ "9": 9
37
+ },
38
+ "max_position_embeddings": 512,
39
+ "model_type": "distilbert",
40
+ "n_heads": 12,
41
+ "n_layers": 6,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "qa_dropout": 0.1,
45
+ "seq_classif_dropout": 0.2,
46
+ "sinusoidal_pos_embds": false,
47
+ "tie_weights_": true,
48
+ "transformers_version": "4.42.4",
49
+ "vocab_size": 25000
50
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95663594f26eea8acbb1e621587f4a00490a59b4f283989d777485ec53a2f3be
3
+ size 251015872