RJ3vans commited on
Commit
c38f0b8
·
verified ·
1 Parent(s): 690e964

Upload TokenClassificationPipeline

Browse files
Files changed (2) hide show
  1. config.json +4 -10
  2. model.safetensors +2 -2
config.json CHANGED
@@ -5,12 +5,11 @@
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "directionality": "bidi",
9
  "finetuning_task": "ner",
10
  "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
- "hidden_size": 1024,
14
  "id2label": {
15
  "0": "AFTER_COMPOUND",
16
  "1": "BEFORE_COMPOUND",
@@ -21,7 +20,7 @@
21
  "6": "UNKNOWN"
22
  },
23
  "initializer_range": 0.02,
24
- "intermediate_size": 4096,
25
  "label2id": {
26
  "AFTER_COMPOUND": 0,
27
  "BEFORE_COMPOUND": 1,
@@ -34,14 +33,9 @@
34
  "layer_norm_eps": 1e-12,
35
  "max_position_embeddings": 512,
36
  "model_type": "bert",
37
- "num_attention_heads": 16,
38
- "num_hidden_layers": 24,
39
  "pad_token_id": 0,
40
- "pooler_fc_size": 768,
41
- "pooler_num_attention_heads": 12,
42
- "pooler_num_fc_layers": 3,
43
- "pooler_size_per_head": 128,
44
- "pooler_type": "first_token_transform",
45
  "position_embedding_type": "absolute",
46
  "torch_dtype": "float32",
47
  "transformers_version": "4.47.1",
 
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
 
8
  "finetuning_task": "ner",
9
  "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
  "id2label": {
14
  "0": "AFTER_COMPOUND",
15
  "1": "BEFORE_COMPOUND",
 
20
  "6": "UNKNOWN"
21
  },
22
  "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
  "label2id": {
25
  "AFTER_COMPOUND": 0,
26
  "BEFORE_COMPOUND": 1,
 
33
  "layer_norm_eps": 1e-12,
34
  "max_position_embeddings": 512,
35
  "model_type": "bert",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
  "pad_token_id": 0,
 
 
 
 
 
39
  "position_embedding_type": "absolute",
40
  "torch_dtype": "float32",
41
  "transformers_version": "4.47.1",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f5dda24f2824195f8352963f205715c5ac7d5604b220f66e149835b817c30e1
3
- size 1330194164
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e732ea3f9db6abc5c1c31c08bb073586b0b0d4943832ebf4b0167d5bd27ace6d
3
+ size 430923588