yujiepan commited on
Commit
870fcf6
1 Parent(s): 006cb86

upload model

Browse files
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "csarron/mobilebert-uncased-squad-v1",
3
+ "architectures": [
4
+ "NNCFNetwork"
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
+ "initializer_range": 0.02,
14
+ "intermediate_size": 512,
15
+ "intra_bottleneck_size": 128,
16
+ "key_query_shared_bottleneck": true,
17
+ "layer_norm_eps": 1e-12,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "mobilebert",
20
+ "normalization_type": "no_norm",
21
+ "num_attention_heads": 4,
22
+ "num_feedforward_networks": 4,
23
+ "num_hidden_layers": 12,
24
+ "pad_token_id": 0,
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.26.0",
27
+ "trigram_input": true,
28
+ "true_hidden_size": 128,
29
+ "type_vocab_size": 2,
30
+ "use_bottleneck": true,
31
+ "use_bottleneck_attention": false,
32
+ "vocab_size": 30522
33
+ }
openvino_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "compression": {
3
+ "algorithm": "quantization",
4
+ "export_to_onnx_standard_ops": false,
5
+ "ignored_scopes": [
6
+ "{re}.*__add___[0-1]",
7
+ "{re}.*__truediv__*"
8
+ ],
9
+ "initializer": {
10
+ "batchnorm_adaptation": {
11
+ "num_bn_adaptation_samples": 16
12
+ },
13
+ "range": {
14
+ "num_init_samples": 128,
15
+ "params": {
16
+ "max_percentile": 99.99,
17
+ "min_percentile": 0.01
18
+ },
19
+ "type": "percentile"
20
+ }
21
+ },
22
+ "overflow_fix": "disable",
23
+ "preset": "mixed",
24
+ "scope_overrides": {
25
+ "activations": {
26
+ "{re}.*matmul_0": {
27
+ "mode": "symmetric"
28
+ }
29
+ }
30
+ }
31
+ },
32
+ "input_info": [
33
+ {
34
+ "keyword": "input_ids",
35
+ "sample_size": [
36
+ 32,
37
+ 384
38
+ ],
39
+ "type": "long"
40
+ },
41
+ {
42
+ "keyword": "token_type_ids",
43
+ "sample_size": [
44
+ 32,
45
+ 384
46
+ ],
47
+ "type": "long"
48
+ },
49
+ {
50
+ "keyword": "attention_mask",
51
+ "sample_size": [
52
+ 32,
53
+ 384
54
+ ],
55
+ "type": "long"
56
+ }
57
+ ],
58
+ "log_dir": "/nvme2/yujiepan/workspace/jpqd-test/LOGS/optimum-mobilebert-qa/0314_i6dh_mobilebert_int8vs_lr7e-05",
59
+ "optimum_version": "1.6.3",
60
+ "save_onnx_model": false,
61
+ "transformers_version": "4.26.0"
62
+ }
openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d57e41a489719ef6d7699ecc9cf7c13746c86bce7fab55df530046324d4a886a
3
+ size 14913176
openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d24bb9b436cbacc94e1dd6fe398005dcb36756c0affc935b1f0ed715be7dbb7
3
+ size 59190159
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": true,
5
+ "full_tokenizer_file": null,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 1000000000000000019884624838656,
8
+ "name_or_path": "csarron/mobilebert-uncased-squad-v1",
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "special_tokens_map_file": null,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "MobileBertTokenizer",
16
+ "unk_token": "[UNK]"
17
+ }
trainer_states.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d152c2860304ad5e121630d0556a336685c3adb32e870fe880930a6a5fd22158
3
+ size 3771
vocab.txt ADDED
The diff for this file is too large to render. See raw diff