GautamR
commited on
Commit
·
482065d
1
Parent(s):
747ddb6
Updated model commit
Browse files- config.json +19 -12
- pytorch_model.bin +2 -2
- tokenizer_config.json +2 -2
config.json
CHANGED
@@ -1,21 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"classifier_dropout": null,
|
8 |
-
"
|
9 |
-
"hidden_act": "
|
10 |
-
"hidden_dropout_prob": 0.
|
11 |
-
"hidden_size":
|
12 |
"id2label": {
|
13 |
"0": "LABEL_0",
|
14 |
"1": "LABEL_1",
|
15 |
"2": "LABEL_2"
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
-
"intermediate_size":
|
|
|
|
|
19 |
"label2id": {
|
20 |
"LABEL_0": 0,
|
21 |
"LABEL_1": 1,
|
@@ -23,15 +26,19 @@
|
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"max_position_embeddings": 512,
|
26 |
-
"model_type": "
|
27 |
-
"
|
28 |
-
"
|
|
|
|
|
29 |
"pad_token_id": 0,
|
30 |
-
"position_embedding_type": "absolute",
|
31 |
"problem_type": "single_label_classification",
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.30.2",
|
|
|
|
|
34 |
"type_vocab_size": 2,
|
35 |
-
"
|
|
|
36 |
"vocab_size": 30522
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/mobilebert-uncased",
|
3 |
"architectures": [
|
4 |
+
"MobileBertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_activation": false,
|
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": "LABEL_0",
|
15 |
"1": "LABEL_1",
|
16 |
"2": "LABEL_2"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 512,
|
20 |
+
"intra_bottleneck_size": 128,
|
21 |
+
"key_query_shared_bottleneck": true,
|
22 |
"label2id": {
|
23 |
"LABEL_0": 0,
|
24 |
"LABEL_1": 1,
|
|
|
26 |
},
|
27 |
"layer_norm_eps": 1e-12,
|
28 |
"max_position_embeddings": 512,
|
29 |
+
"model_type": "mobilebert",
|
30 |
+
"normalization_type": "no_norm",
|
31 |
+
"num_attention_heads": 4,
|
32 |
+
"num_feedforward_networks": 4,
|
33 |
+
"num_hidden_layers": 24,
|
34 |
"pad_token_id": 0,
|
|
|
35 |
"problem_type": "single_label_classification",
|
36 |
"torch_dtype": "float32",
|
37 |
"transformers_version": "4.30.2",
|
38 |
+
"trigram_input": true,
|
39 |
+
"true_hidden_size": 128,
|
40 |
"type_vocab_size": 2,
|
41 |
+
"use_bottleneck": true,
|
42 |
+
"use_bottleneck_attention": false,
|
43 |
"vocab_size": 30522
|
44 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae0ec2003bd642aaa9be1c99aa1a93255c87b411e8c84e9852969d51f763f6c8
|
3 |
+
size 98727463
|
tokenizer_config.json
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": true,
|
6 |
"mask_token": "[MASK]",
|
7 |
-
"model_max_length":
|
8 |
"never_split": null,
|
9 |
"pad_token": "[PAD]",
|
10 |
"sep_token": "[SEP]",
|
11 |
"strip_accents": null,
|
12 |
"tokenize_chinese_chars": true,
|
13 |
-
"tokenizer_class": "
|
14 |
"unk_token": "[UNK]"
|
15 |
}
|
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": true,
|
6 |
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
"never_split": null,
|
9 |
"pad_token": "[PAD]",
|
10 |
"sep_token": "[SEP]",
|
11 |
"strip_accents": null,
|
12 |
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "MobileBertTokenizer",
|
14 |
"unk_token": "[UNK]"
|
15 |
}
|