Upload TFDistilBertForSequenceClassification
Browse files- README.md +48 -0
- config.json +67 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: JUAN_OLANO_WEEK1_ASSIGNMENT1
|
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 |
+
# JUAN_OLANO_WEEK1_ASSIGNMENT1
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- 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': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1908, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
37 |
+
- training_precision: float32
|
38 |
+
|
39 |
+
### Training results
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
### Framework versions
|
44 |
+
|
45 |
+
- Transformers 4.28.0
|
46 |
+
- TensorFlow 2.12.0
|
47 |
+
- Datasets 2.12.0
|
48 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
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": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12",
|
25 |
+
"13": "LABEL_13",
|
26 |
+
"14": "LABEL_14",
|
27 |
+
"15": "LABEL_15",
|
28 |
+
"16": "LABEL_16",
|
29 |
+
"17": "LABEL_17",
|
30 |
+
"18": "LABEL_18",
|
31 |
+
"19": "LABEL_19"
|
32 |
+
},
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"label2id": {
|
35 |
+
"LABEL_0": 0,
|
36 |
+
"LABEL_1": 1,
|
37 |
+
"LABEL_10": 10,
|
38 |
+
"LABEL_11": 11,
|
39 |
+
"LABEL_12": 12,
|
40 |
+
"LABEL_13": 13,
|
41 |
+
"LABEL_14": 14,
|
42 |
+
"LABEL_15": 15,
|
43 |
+
"LABEL_16": 16,
|
44 |
+
"LABEL_17": 17,
|
45 |
+
"LABEL_18": 18,
|
46 |
+
"LABEL_19": 19,
|
47 |
+
"LABEL_2": 2,
|
48 |
+
"LABEL_3": 3,
|
49 |
+
"LABEL_4": 4,
|
50 |
+
"LABEL_5": 5,
|
51 |
+
"LABEL_6": 6,
|
52 |
+
"LABEL_7": 7,
|
53 |
+
"LABEL_8": 8,
|
54 |
+
"LABEL_9": 9
|
55 |
+
},
|
56 |
+
"max_position_embeddings": 512,
|
57 |
+
"model_type": "distilbert",
|
58 |
+
"n_heads": 12,
|
59 |
+
"n_layers": 6,
|
60 |
+
"pad_token_id": 0,
|
61 |
+
"qa_dropout": 0.1,
|
62 |
+
"seq_classif_dropout": 0.2,
|
63 |
+
"sinusoidal_pos_embds": false,
|
64 |
+
"tie_weights_": true,
|
65 |
+
"transformers_version": "4.28.0",
|
66 |
+
"vocab_size": 30522
|
67 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82dc95ce29f283c6c2958f25d075976a5a51afae7204f1b5ef1705cb56b40583
|
3 |
+
size 268007104
|