z-dickson commited on
Commit
151ad97
·
1 Parent(s): cc65f92
Files changed (2) hide show
  1. config.json +14 -6
  2. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,14 +1,18 @@
1
  {
2
- "_name_or_path": "z-dickson/CAP_coded_UK_statutory_instruments",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
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
  "id2label": {
13
  "0": "macroeconomics",
14
  "1": "civil rights",
@@ -57,11 +61,15 @@
57
  },
58
  "layer_norm_eps": 1e-12,
59
  "max_position_embeddings": 512,
60
- "model_type": "bert",
61
- "num_attention_heads": 12,
62
- "num_hidden_layers": 12,
63
  "pad_token_id": 0,
64
  "position_embedding_type": "absolute",
 
 
 
 
65
  "transformers_version": "4.19.2",
66
  "type_vocab_size": 2,
67
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "/content/drive/MyDrive/NLP_models/UK_statutory_instruments_normalised-bert-cased.t5",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForSequenceClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
  "attention_probs_dropout_prob": 0.1,
9
  "classifier_dropout": null,
10
+ "dim": 768,
11
+ "dropout": 0.1,
12
  "gradient_checkpointing": false,
13
  "hidden_act": "gelu",
14
+ "hidden_dim": 3072,
15
  "hidden_dropout_prob": 0.1,
 
16
  "id2label": {
17
  "0": "macroeconomics",
18
  "1": "civil rights",
 
61
  },
62
  "layer_norm_eps": 1e-12,
63
  "max_position_embeddings": 512,
64
+ "model_type": "distilbert",
65
+ "n_heads": 12,
66
+ "n_layers": 12,
67
  "pad_token_id": 0,
68
  "position_embedding_type": "absolute",
69
+ "qa_dropout": 0.1,
70
+ "seq_classif_dropout": 0.2,
71
+ "sinusoidal_pos_embds": false,
72
+ "torch_dtype": "float32",
73
  "transformers_version": "4.19.2",
74
  "type_vocab_size": 2,
75
  "use_cache": true,
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e688a4e01852fc5f1823d4a6a119b10da1c47bbb4a25c45acb3202bcdb6a4457
3
+ size 433360817