dominguesm commited on
Commit
589f5aa
1 Parent(s): 376f1c8

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +59 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./canarim-bert-postag-nheengatu",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-ADJ",
13
+ "1": "B-ADP",
14
+ "10": "B-PRON",
15
+ "11": "B-PROPN",
16
+ "12": "B-PUNCT",
17
+ "13": "B-SCONJ",
18
+ "14": "B-VERB",
19
+ "2": "B-ADV",
20
+ "3": "B-AUX",
21
+ "4": "B-CCONJ",
22
+ "5": "B-DET",
23
+ "6": "B-INTJ",
24
+ "7": "B-NOUN",
25
+ "8": "B-NUM",
26
+ "9": "B-PART"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "B-ADJ": "0",
32
+ "B-ADP": "1",
33
+ "B-ADV": "2",
34
+ "B-AUX": "3",
35
+ "B-CCONJ": "4",
36
+ "B-DET": "5",
37
+ "B-INTJ": "6",
38
+ "B-NOUN": "7",
39
+ "B-NUM": "8",
40
+ "B-PART": "9",
41
+ "B-PRON": "10",
42
+ "B-PROPN": "11",
43
+ "B-PUNCT": "12",
44
+ "B-SCONJ": "13",
45
+ "B-VERB": "14"
46
+ },
47
+ "layer_norm_eps": 1e-12,
48
+ "max_position_embeddings": 128,
49
+ "model_type": "bert",
50
+ "num_attention_heads": 12,
51
+ "num_hidden_layers": 12,
52
+ "pad_token_id": 0,
53
+ "position_embedding_type": "absolute",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.36.2",
56
+ "type_vocab_size": 2,
57
+ "use_cache": true,
58
+ "vocab_size": 32768
59
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7400c0de1bc81050ff838a341110acde38483f307a057916f92ad1f0a6189f44
3
+ size 441356148