humbertofraga commited on
Commit
5663959
1 Parent(s): e4f9651

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "neuralmind/bert-base-portuguese-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-per",
15
+ "2": "B-tim",
16
+ "3": "I-tim",
17
+ "4": "B-eve",
18
+ "5": "I-eve",
19
+ "6": "B-url",
20
+ "7": "B-geo",
21
+ "8": "I-geo",
22
+ "9": "I-per",
23
+ "10": "B-val",
24
+ "11": "I-val"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-eve": 4,
30
+ "B-geo": 7,
31
+ "B-per": 1,
32
+ "B-tim": 2,
33
+ "B-url": 6,
34
+ "B-val": 10,
35
+ "I-eve": 5,
36
+ "I-geo": 8,
37
+ "I-per": 9,
38
+ "I-tim": 3,
39
+ "I-val": 11,
40
+ "O": 0
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "max_position_embeddings": 512,
44
+ "model_type": "bert",
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 12,
47
+ "output_past": true,
48
+ "pad_token_id": 0,
49
+ "pooler_fc_size": 768,
50
+ "pooler_num_attention_heads": 12,
51
+ "pooler_num_fc_layers": 3,
52
+ "pooler_size_per_head": 128,
53
+ "pooler_type": "first_token_transform",
54
+ "position_embedding_type": "absolute",
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.41.2",
57
+ "type_vocab_size": 2,
58
+ "use_cache": true,
59
+ "vocab_size": 29794
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a51cc1577b4ee49ae14292e16bdc9a3b6e569a143b8e28fa0ce5c5bffb21ff6c
3
+ size 433390432