mohsenfayyaz commited on
Commit
1f68cdd
1 Parent(s): b6afa36

Enable output_hidden_states

Browse files
Files changed (4) hide show
  1. config.json +15 -15
  2. pytorch_model.bin +2 -2
  3. tokenizer_config.json +1 -1
  4. training_args.bin +1 -1
config.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
 
3
  "architectures": [
4
- "BertForTokenClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "gradient_checkpointing": false,
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
- "hidden_size": 768,
11
  "id2label": {
12
  "0": "LABEL_0",
13
  "1": "LABEL_1",
@@ -28,7 +28,6 @@
28
  "16": "LABEL_16"
29
  },
30
  "initializer_range": 0.02,
31
- "intermediate_size": 3072,
32
  "label2id": {
33
  "LABEL_0": 0,
34
  "LABEL_1": 1,
@@ -48,15 +47,16 @@
48
  "LABEL_8": 8,
49
  "LABEL_9": 9
50
  },
51
- "layer_norm_eps": 1e-12,
52
  "max_position_embeddings": 512,
53
- "model_type": "bert",
54
- "num_attention_heads": 12,
55
- "num_hidden_layers": 12,
 
56
  "pad_token_id": 0,
57
- "position_embedding_type": "absolute",
 
 
 
58
  "transformers_version": "4.3.3",
59
- "type_vocab_size": 2,
60
- "use_cache": true,
61
  "vocab_size": 30522
62
  }
 
1
  {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForTokenClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
 
11
  "id2label": {
12
  "0": "LABEL_0",
13
  "1": "LABEL_1",
 
28
  "16": "LABEL_16"
29
  },
30
  "initializer_range": 0.02,
 
31
  "label2id": {
32
  "LABEL_0": 0,
33
  "LABEL_1": 1,
 
47
  "LABEL_8": 8,
48
  "LABEL_9": 9
49
  },
 
50
  "max_position_embeddings": 512,
51
+ "model_type": "distilbert",
52
+ "n_heads": 12,
53
+ "n_layers": 6,
54
+ "output_hidden_states": true,
55
  "pad_token_id": 0,
56
+ "qa_dropout": 0.1,
57
+ "seq_classif_dropout": 0.2,
58
+ "sinusoidal_pos_embds": false,
59
+ "tie_weights_": true,
60
  "transformers_version": "4.3.3",
 
 
61
  "vocab_size": 30522
62
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93a6239c122d4f594523e15c6e10cdb4e96e770279f4b2841c5f52db7b85b105
3
- size 435707447
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c272cc44474786213010e81d00100f6d6a248690e8b3fc6062bf3950b63d57e
3
+ size 265546245
tokenizer_config.json CHANGED
@@ -1 +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, "name_or_path": "bert-base-uncased"}
 
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, "name_or_path": "distilbert-base-uncased"}
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c73cb402c00369cfb109cb276f48af4cf19d94356aac25e6014519427294815e
3
  size 2159
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44673731fe36c8974d5e12d818a9c3c6081159e4481705fac8b32eb21c9791c1
3
  size 2159