Upload 6 files
Browse files- config.json +61 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "KB/bert-base-swedish-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-institution",
|
15 |
+
"2": "I-institution",
|
16 |
+
"3": "B-transportation",
|
17 |
+
"4": "I-transportation",
|
18 |
+
"5": "B-other",
|
19 |
+
"6": "I-other",
|
20 |
+
"7": "B-age",
|
21 |
+
"8": "I-age",
|
22 |
+
"9": "B-geographic",
|
23 |
+
"10": "I-geographic",
|
24 |
+
"11": "B-personal_name",
|
25 |
+
"12": "I-personal_name",
|
26 |
+
"13": "B-date",
|
27 |
+
"14": "I-date"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"B-age": 7,
|
33 |
+
"B-date": 13,
|
34 |
+
"B-geographic": 9,
|
35 |
+
"B-institution": 1,
|
36 |
+
"B-other": 5,
|
37 |
+
"B-personal_name": 11,
|
38 |
+
"B-transportation": 3,
|
39 |
+
"I-age": 8,
|
40 |
+
"I-date": 14,
|
41 |
+
"I-geographic": 10,
|
42 |
+
"I-institution": 2,
|
43 |
+
"I-other": 6,
|
44 |
+
"I-personal_name": 12,
|
45 |
+
"I-transportation": 4,
|
46 |
+
"O": 0
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"max_position_embeddings": 512,
|
50 |
+
"model_type": "bert",
|
51 |
+
"num_attention_heads": 12,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"output_past": true,
|
54 |
+
"pad_token_id": 0,
|
55 |
+
"position_embedding_type": "absolute",
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.32.1",
|
58 |
+
"type_vocab_size": 2,
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 50325
|
61 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:944991cfdab2123d82865997d7b14ce58cd6cce5fa069ded4619444f263d1887
|
3 |
+
size 496512934
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": false,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": false,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a0cd5803562643ba9b67b7d1d20fca1c936e426a10f4fc641c6fa6a93ef6858
|
3 |
+
size 4472
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|