Alireza1044
commited on
Commit
•
e48439c
1
Parent(s):
fe7ef6e
add model
Browse files- config.json +44 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "output_sst2",
|
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 |
+
"finetuning_task": "sst-2",
|
11 |
+
"hidden_act": "relu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 512,
|
14 |
+
"id2label": {
|
15 |
+
"0": "negative",
|
16 |
+
"1": "positive"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 512,
|
20 |
+
"intra_bottleneck_size": 128,
|
21 |
+
"key_query_shared_bottleneck": true,
|
22 |
+
"label2id": {
|
23 |
+
"negative": 0,
|
24 |
+
"positive": 1
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"max_position_embeddings": 512,
|
28 |
+
"model_type": "mobilebert",
|
29 |
+
"normalization_type": "no_norm",
|
30 |
+
"num_attention_heads": 4,
|
31 |
+
"num_feedforward_networks": 4,
|
32 |
+
"num_hidden_layers": 24,
|
33 |
+
"output_hidden_states": true,
|
34 |
+
"pad_token_id": 0,
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.20.0.dev0",
|
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
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e516fd73c7cbc1eef3fcb7355ab2f4415cf7f859ed35d5d8f9ec322588c42ec
|
3 |
+
size 119028395
|