tobiso commited on
Commit
b9892ae
·
verified ·
1 Parent(s): 4fd4392

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +14 -10
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
  "architectures": [
3
- "XLMRobertaForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
- "bos_token_id": 0,
7
  "classifier_dropout": null,
8
- "eos_token_id": 2,
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 1024,
@@ -41,17 +41,21 @@
41
  "I-Person": 11,
42
  "O": 12
43
  },
44
- "layer_norm_eps": 1e-05,
45
- "max_position_embeddings": 514,
46
- "model_type": "xlm-roberta",
47
  "num_attention_heads": 16,
48
  "num_hidden_layers": 24,
49
- "output_past": true,
50
- "pad_token_id": 1,
 
 
 
 
51
  "position_embedding_type": "absolute",
52
  "torch_dtype": "float32",
53
  "transformers_version": "4.51.3",
54
- "type_vocab_size": 1,
55
  "use_cache": true,
56
- "vocab_size": 250002
57
  }
 
1
  {
2
  "architectures": [
3
+ "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 1024,
 
41
  "I-Person": 11,
42
  "O": 12
43
  },
44
+ "layer_norm_eps": 1e-12,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "bert",
47
  "num_attention_heads": 16,
48
  "num_hidden_layers": 24,
49
+ "pad_token_id": 0,
50
+ "pooler_fc_size": 768,
51
+ "pooler_num_attention_heads": 12,
52
+ "pooler_num_fc_layers": 3,
53
+ "pooler_size_per_head": 128,
54
+ "pooler_type": "first_token_transform",
55
  "position_embedding_type": "absolute",
56
  "torch_dtype": "float32",
57
  "transformers_version": "4.51.3",
58
+ "type_vocab_size": 2,
59
  "use_cache": true,
60
+ "vocab_size": 28996
61
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2415e9801f18b5d175c0aab854779396cd27138105af7db4d6fa29674ffa67d4
3
- size 2235465156
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a81d250df76841e34f283017d23c04a6143982f362aba462b101369fab72b1d1
3
+ size 1330218772