James Reder commited on
Commit
8188a85
·
1 Parent(s): dd0b8e7

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +15 -23
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,33 +1,25 @@
1
  {
2
- "_name_or_path": "bert-large-cased",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "directionality": "bidi",
9
- "gradient_checkpointing": false,
10
- "hidden_act": "gelu",
11
- "hidden_dropout_prob": 0.1,
12
- "hidden_size": 1024,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 4096,
15
- "layer_norm_eps": 1e-12,
16
  "max_position_embeddings": 512,
17
- "model_type": "bert",
18
- "num_attention_heads": 16,
19
- "num_hidden_layers": 24,
20
  "pad_token_id": 0,
21
- "pooler_fc_size": 768,
22
- "pooler_num_attention_heads": 12,
23
- "pooler_num_fc_layers": 3,
24
- "pooler_size_per_head": 128,
25
- "pooler_type": "first_token_transform",
26
- "position_embedding_type": "absolute",
27
  "problem_type": "single_label_classification",
 
 
 
 
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.28.1",
30
- "type_vocab_size": 2,
31
- "use_cache": true,
32
- "vocab_size": 28996
33
  }
 
1
  {
2
+ "_name_or_path": "d4data/biomedical-ner-all",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForSequenceClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
 
 
 
11
  "initializer_range": 0.02,
 
 
12
  "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
  "pad_token_id": 0,
 
 
 
 
 
 
17
  "problem_type": "single_label_classification",
18
+ "qa_dropout": 0.1,
19
+ "seq_classif_dropout": 0.2,
20
+ "sinusoidal_pos_embds": false,
21
+ "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.28.1",
24
+ "vocab_size": 30522
 
 
25
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1706a17e8b37e88a2cc47844f82dbf1b5f5e90e9a83a55cff6d601cfb9a2dda0
3
- size 1334464117
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c29e0eb0e414110ca12d27c2bee21711cbe88f0193bfc6caf756b3c73d91050c
3
+ size 267855533