vedantjumle commited on
Commit
4e517ce
1 Parent(s): c53a8fb

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +55 -0
  2. config.json +147 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +13 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: vedantjumle/bert
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
+ # vedantjumle/bert
15
+
16
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 2.2958
19
+ - Validation Loss: 1.1168
20
+ - Train Accuracy: 0.7712
21
+ - Epoch: 0
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': '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': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 23250, '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}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
46
+ |:----------:|:---------------:|:--------------:|:-----:|
47
+ | 2.2958 | 1.1168 | 0.7712 | 0 |
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.33.2
53
+ - TensorFlow 2.13.0
54
+ - Datasets 2.14.5
55
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "alarm_query": 15,
13
+ "alarm_remove": 14,
14
+ "alarm_set": 0,
15
+ "audio_volume_down": 23,
16
+ "audio_volume_mute": 1,
17
+ "audio_volume_other": 26,
18
+ "audio_volume_up": 28,
19
+ "calendar_query": 7,
20
+ "calendar_remove": 52,
21
+ "calendar_set": 38,
22
+ "cooking_query": 50,
23
+ "cooking_recipe": 35,
24
+ "datetime_convert": 12,
25
+ "datetime_query": 11,
26
+ "email_addcontact": 56,
27
+ "email_query": 48,
28
+ "email_querycontact": 54,
29
+ "email_sendemail": 43,
30
+ "general_greet": 10,
31
+ "general_joke": 24,
32
+ "general_quirky": 9,
33
+ "iot_cleaning": 6,
34
+ "iot_coffee": 27,
35
+ "iot_hue_lightchange": 2,
36
+ "iot_hue_lightdim": 5,
37
+ "iot_hue_lightoff": 3,
38
+ "iot_hue_lighton": 4,
39
+ "iot_hue_lightup": 19,
40
+ "iot_wemo_off": 30,
41
+ "iot_wemo_on": 29,
42
+ "lists_createoradd": 55,
43
+ "lists_query": 46,
44
+ "lists_remove": 53,
45
+ "music_dislikeness": 25,
46
+ "music_likeness": 17,
47
+ "music_query": 18,
48
+ "music_settings": 22,
49
+ "news_query": 16,
50
+ "play_audiobook": 39,
51
+ "play_game": 47,
52
+ "play_music": 8,
53
+ "play_podcasts": 40,
54
+ "play_radio": 32,
55
+ "qa_currency": 59,
56
+ "qa_definition": 51,
57
+ "qa_factoid": 36,
58
+ "qa_maths": 58,
59
+ "qa_stock": 31,
60
+ "recommendation_events": 37,
61
+ "recommendation_locations": 34,
62
+ "recommendation_movies": 45,
63
+ "social_post": 33,
64
+ "social_query": 41,
65
+ "takeaway_order": 20,
66
+ "takeaway_query": 13,
67
+ "transport_query": 42,
68
+ "transport_taxi": 57,
69
+ "transport_ticket": 44,
70
+ "transport_traffic": 49,
71
+ "weather_query": 21
72
+ },
73
+ "initializer_range": 0.02,
74
+ "label2id": {
75
+ "0": "alarm_set",
76
+ "1": "audio_volume_mute",
77
+ "2": "iot_hue_lightchange",
78
+ "3": "iot_hue_lightoff",
79
+ "4": "iot_hue_lighton",
80
+ "5": "iot_hue_lightdim",
81
+ "6": "iot_cleaning",
82
+ "7": "calendar_query",
83
+ "8": "play_music",
84
+ "9": "general_quirky",
85
+ "10": "general_greet",
86
+ "11": "datetime_query",
87
+ "12": "datetime_convert",
88
+ "13": "takeaway_query",
89
+ "14": "alarm_remove",
90
+ "15": "alarm_query",
91
+ "16": "news_query",
92
+ "17": "music_likeness",
93
+ "18": "music_query",
94
+ "19": "iot_hue_lightup",
95
+ "20": "takeaway_order",
96
+ "21": "weather_query",
97
+ "22": "music_settings",
98
+ "23": "audio_volume_down",
99
+ "24": "general_joke",
100
+ "25": "music_dislikeness",
101
+ "26": "audio_volume_other",
102
+ "27": "iot_coffee",
103
+ "28": "audio_volume_up",
104
+ "29": "iot_wemo_on",
105
+ "30": "iot_wemo_off",
106
+ "31": "qa_stock",
107
+ "32": "play_radio",
108
+ "33": "social_post",
109
+ "34": "recommendation_locations",
110
+ "35": "cooking_recipe",
111
+ "36": "qa_factoid",
112
+ "37": "recommendation_events",
113
+ "38": "calendar_set",
114
+ "39": "play_audiobook",
115
+ "40": "play_podcasts",
116
+ "41": "social_query",
117
+ "42": "transport_query",
118
+ "43": "email_sendemail",
119
+ "44": "transport_ticket",
120
+ "45": "recommendation_movies",
121
+ "46": "lists_query",
122
+ "47": "play_game",
123
+ "48": "email_query",
124
+ "49": "transport_traffic",
125
+ "50": "cooking_query",
126
+ "51": "qa_definition",
127
+ "52": "calendar_remove",
128
+ "53": "lists_remove",
129
+ "54": "email_querycontact",
130
+ "55": "lists_createoradd",
131
+ "56": "email_addcontact",
132
+ "57": "transport_taxi",
133
+ "58": "qa_maths",
134
+ "59": "qa_currency"
135
+ },
136
+ "max_position_embeddings": 512,
137
+ "model_type": "distilbert",
138
+ "n_heads": 12,
139
+ "n_layers": 6,
140
+ "pad_token_id": 0,
141
+ "qa_dropout": 0.1,
142
+ "seq_classif_dropout": 0.2,
143
+ "sinusoidal_pos_embds": false,
144
+ "tie_weights_": true,
145
+ "transformers_version": "4.33.2",
146
+ "vocab_size": 30522
147
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef7ad3ca43079aa0e9a3fbda0c079d56f96e2cb16065bf486dc66d009a0e5eae
3
+ size 268129984
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff