add model
Browse files- config.json +6 -13
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,18 +1,14 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
-
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
-
"
|
| 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,14 +57,11 @@
|
|
| 61 |
},
|
| 62 |
"layer_norm_eps": 1e-12,
|
| 63 |
"max_position_embeddings": 512,
|
| 64 |
-
"model_type": "
|
| 65 |
-
"
|
| 66 |
-
"
|
| 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.3",
|
| 74 |
"type_vocab_size": 2,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/content/drive/MyDrive/NLP_models/UK_statutory_instruments_normalised-bert-cased.t5",
|
|
|
|
| 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 |
},
|
| 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 |
"torch_dtype": "float32",
|
| 66 |
"transformers_version": "4.19.3",
|
| 67 |
"type_vocab_size": 2,
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faec164c09d08427dfd79a5df39aec29c91ba32ebc6fcf8c552a713ea6bee824
|
| 3 |
+
size 433370797
|