add model
Browse files- README.md +46 -0
- config.json +45 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: tf-emo-mobilebert
|
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 |
+
# tf-emo-mobilebert
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [lordtt13/emo-mobilebert](https://huggingface.co/lordtt13/emo-mobilebert) 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.17.0
|
45 |
+
- TensorFlow 2.8.0
|
46 |
+
- Tokenizers 0.11.6
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lordtt13/emo-mobilebert",
|
3 |
+
"architectures": [
|
4 |
+
"MobileBertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_activation": true,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"hidden_act": "relu",
|
11 |
+
"hidden_dropout_prob": 0.0,
|
12 |
+
"hidden_size": 512,
|
13 |
+
"id2label": {
|
14 |
+
"0": "others",
|
15 |
+
"1": "happy",
|
16 |
+
"2": "sad",
|
17 |
+
"3": "angry"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 512,
|
21 |
+
"intra_bottleneck_size": 128,
|
22 |
+
"key_query_shared_bottleneck": true,
|
23 |
+
"label2id": {
|
24 |
+
"angry": 3,
|
25 |
+
"happy": 1,
|
26 |
+
"others": 0,
|
27 |
+
"sad": 2
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
+
"max_length": 128,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"model_type": "mobilebert",
|
33 |
+
"normalization_type": "no_norm",
|
34 |
+
"num_attention_heads": 4,
|
35 |
+
"num_feedforward_networks": 4,
|
36 |
+
"num_hidden_layers": 24,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"transformers_version": "4.17.0",
|
39 |
+
"trigram_input": true,
|
40 |
+
"true_hidden_size": 128,
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_bottleneck": true,
|
43 |
+
"use_bottleneck_attention": false,
|
44 |
+
"vocab_size": 2016
|
45 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ae0efa253a3ded43158d8d7726c008dd570f9edeec58ba3d194c4bd3c2d6810
|
3 |
+
size 86296032
|