wdavies commited on
Commit
4dadee3
verified
1 Parent(s): 9f5bfa0

Upload DistilBertForQuestionAnswering

Browse files
Files changed (2) hide show
  1. config.json +17 -18
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,25 +1,24 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
 
3
  "architectures": [
4
- "BertForQuestionAnswering"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
- "model_type": "bert",
17
- "num_attention_heads": 12,
18
- "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
- "position_embedding_type": "absolute",
21
- "transformers_version": "4.31.0",
22
- "type_vocab_size": 2,
23
- "use_cache": true,
24
- "vocab_size": 28996
 
 
25
  }
 
1
  {
2
+ "_name_or_path": "qa_trained",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForQuestionAnswering"
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
+ "qa_dropout": 0.1,
18
+ "seq_classif_dropout": 0.2,
19
+ "sinusoidal_pos_embds": false,
20
+ "tie_weights_": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "vocab_size": 30522
24
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b408f5d69ff9e1da90d6bddf7b3f53b0a40724ecf8514b5927dbdf019b051d40
3
+ size 265470032