add model
Browse files- README.md +47 -0
- config.json +61 -0
- tf_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_keras_callback
|
| 4 |
+
model-index:
|
| 5 |
+
- name: Intent-Classification-Bert-Base-Cased
|
| 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 |
+
# Intent-Classification-Bert-Base-Cased
|
| 13 |
+
|
| 14 |
+
This model was trained from scratch on an unknown dataset.
|
| 15 |
+
It achieves the following results on the evaluation set:
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model description
|
| 19 |
+
|
| 20 |
+
More information needed
|
| 21 |
+
|
| 22 |
+
## Intended uses & limitations
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Training and evaluation data
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training procedure
|
| 31 |
+
|
| 32 |
+
### Training hyperparameters
|
| 33 |
+
|
| 34 |
+
The following hyperparameters were used during training:
|
| 35 |
+
- optimizer: None
|
| 36 |
+
- training_precision: float32
|
| 37 |
+
|
| 38 |
+
### Training results
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
### Framework versions
|
| 43 |
+
|
| 44 |
+
- Transformers 4.16.2
|
| 45 |
+
- TensorFlow 2.9.1
|
| 46 |
+
- Datasets 2.2.2
|
| 47 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "./models/Intent-Classification-bert-base-cased",
|
| 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.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "asking date",
|
| 14 |
+
"1": "asking time",
|
| 15 |
+
"2": "asking weather",
|
| 16 |
+
"3": "check internet speed",
|
| 17 |
+
"4": "click photo",
|
| 18 |
+
"5": "covid cases",
|
| 19 |
+
"6": "greet",
|
| 20 |
+
"7": "open website",
|
| 21 |
+
"8": "play games",
|
| 22 |
+
"9": "play on youtube",
|
| 23 |
+
"10": "send email",
|
| 24 |
+
"11": "send whatsapp message",
|
| 25 |
+
"12": "take screenshot",
|
| 26 |
+
"13": "tell me about",
|
| 27 |
+
"14": "tell me joke",
|
| 28 |
+
"15": "tell me news"
|
| 29 |
+
},
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 3072,
|
| 32 |
+
"label2id": {
|
| 33 |
+
"asking date": 0,
|
| 34 |
+
"asking time": 1,
|
| 35 |
+
"asking weather": 2,
|
| 36 |
+
"check internet speed": 3,
|
| 37 |
+
"click photo": 4,
|
| 38 |
+
"covid cases": 5,
|
| 39 |
+
"greet": 6,
|
| 40 |
+
"open website": 7,
|
| 41 |
+
"play games": 8,
|
| 42 |
+
"play on youtube": 9,
|
| 43 |
+
"send email": 10,
|
| 44 |
+
"send whatsapp message": 11,
|
| 45 |
+
"take screenshot": 12,
|
| 46 |
+
"tell me about": 13,
|
| 47 |
+
"tell me joke": 14,
|
| 48 |
+
"tell me news": 15
|
| 49 |
+
},
|
| 50 |
+
"layer_norm_eps": 1e-12,
|
| 51 |
+
"max_position_embeddings": 512,
|
| 52 |
+
"model_type": "bert",
|
| 53 |
+
"num_attention_heads": 12,
|
| 54 |
+
"num_hidden_layers": 12,
|
| 55 |
+
"pad_token_id": 0,
|
| 56 |
+
"position_embedding_type": "absolute",
|
| 57 |
+
"transformers_version": "4.16.2",
|
| 58 |
+
"type_vocab_size": 2,
|
| 59 |
+
"use_cache": true,
|
| 60 |
+
"vocab_size": 28996
|
| 61 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d0321bc35cdfbd9b413b38fc0e5d78415aec3ba0df4457b91098b21abfcfd62
|
| 3 |
+
size 433578384
|