Alireza1044
commited on
Commit
•
1895340
1
Parent(s):
45135f9
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_cola",
|
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": "cola",
|
11 |
+
"hidden_act": "relu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 512,
|
14 |
+
"id2label": {
|
15 |
+
"0": "unacceptable",
|
16 |
+
"1": "acceptable"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 512,
|
20 |
+
"intra_bottleneck_size": 128,
|
21 |
+
"key_query_shared_bottleneck": true,
|
22 |
+
"label2id": {
|
23 |
+
"acceptable": 1,
|
24 |
+
"unacceptable": 0
|
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:ee8dff6bbbdaee4ac637aae7f45c1151e0c8f57f3a43338b7edb7fe0e4e4b26d
|
3 |
+
size 119028395
|