mengzhouxia commited on
Commit
7197cf0
1 Parent(s): 5fe5cd7

first commit

Browse files
Files changed (4) hide show
  1. config.json +95 -0
  2. pytorch_model.bin +3 -0
  3. tokenizer_config.json +1 -0
  4. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/n/fs/nlp-mengzhou/space2/out/MRPC/CoFi-test-v3/MRPC_sparsity0.6_reglr0.01_ce0.1_layerdistillv4/best",
3
+ "architectures": [
4
+ "CoFiBertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "do_layer_distill": true,
9
+ "finetuning_task": "mrpc",
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "label2id": {
17
+ "0": 0,
18
+ "1": 1
19
+ },
20
+ "layer_norm_eps": 1e-12,
21
+ "max_position_embeddings": 512,
22
+ "model_type": "bert",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "output_attentions": true,
26
+ "output_hidden_states": true,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "pruned_heads": {
30
+ "0": [],
31
+ "1": [
32
+ 3,
33
+ 5,
34
+ 6
35
+ ],
36
+ "2": [
37
+ 3
38
+ ],
39
+ "3": [
40
+ 4
41
+ ],
42
+ "4": [],
43
+ "5": [],
44
+ "6": [
45
+ 10,
46
+ 2,
47
+ 3,
48
+ 5
49
+ ],
50
+ "7": [
51
+ 3,
52
+ 7
53
+ ],
54
+ "8": [],
55
+ "9": [
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 4,
60
+ 7,
61
+ 8,
62
+ 9,
63
+ 10,
64
+ 11
65
+ ],
66
+ "10": [
67
+ 2,
68
+ 3,
69
+ 4,
70
+ 6,
71
+ 7,
72
+ 8,
73
+ 11
74
+ ],
75
+ "11": [
76
+ 0,
77
+ 1,
78
+ 2,
79
+ 3,
80
+ 4,
81
+ 5,
82
+ 6,
83
+ 7,
84
+ 8,
85
+ 9,
86
+ 10,
87
+ 11
88
+ ]
89
+ },
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.17.0.dev0",
92
+ "type_vocab_size": 2,
93
+ "use_cache": true,
94
+ "vocab_size": 30522
95
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa185ce4099b28a0026d28b08d550d39fd29db35dbf3d27f482c593e7a5465d0
3
+ size 231022649
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-uncased", "tokenizer_class": "BertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff