spyysalo commited on
Commit
f212f11
1 Parent(s): 90fc462

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TurkuNLP/bert-base-finnish-cased-v1",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-DATE",
13
+ "1": "B-EVENT",
14
+ "2": "B-LOC",
15
+ "3": "B-ORG",
16
+ "4": "B-PER",
17
+ "5": "B-PRO",
18
+ "6": "I-DATE",
19
+ "7": "I-EVENT",
20
+ "8": "I-LOC",
21
+ "9": "I-ORG",
22
+ "10": "I-PER",
23
+ "11": "I-PRO",
24
+ "12": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-DATE": 0,
30
+ "B-EVENT": 1,
31
+ "B-LOC": 2,
32
+ "B-ORG": 3,
33
+ "B-PER": 4,
34
+ "B-PRO": 5,
35
+ "I-DATE": 6,
36
+ "I-EVENT": 7,
37
+ "I-LOC": 8,
38
+ "I-ORG": 9,
39
+ "I-PER": 10,
40
+ "I-PRO": 11,
41
+ "O": 12
42
+ },
43
+ "layer_norm_eps": 1e-12,
44
+ "max_position_embeddings": 512,
45
+ "model_type": "bert",
46
+ "num_attention_heads": 12,
47
+ "num_hidden_layers": 12,
48
+ "pad_token_id": 0,
49
+ "position_embedding_type": "absolute",
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.26.1",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "vocab_size": 50105
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98ac2a7ad9867f2fc611e1af1dac8885ece20a71c6af96ed636f4ecb121117ad
3
+ size 495837677