jvamvas commited on
Commit
f557ead
1 Parent(s): 5a29953

Initial commit

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_layer_norm": false,
3
+ "adapter_reduction_factor": 2,
4
+ "adapter_reuse_layer_norm": true,
5
+ "architectures": [
6
+ "XmodForTokenClassification"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": null,
11
+ "eos_token_id": 2,
12
+ "finetuning_task": "ner",
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "B-LOC",
18
+ "1": "B-MISC",
19
+ "2": "B-ORG",
20
+ "3": "B-PER",
21
+ "4": "I-LOC",
22
+ "5": "I-MISC",
23
+ "6": "I-ORG",
24
+ "7": "I-PER",
25
+ "8": "O"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-LOC": 0,
31
+ "B-MISC": 1,
32
+ "B-ORG": 2,
33
+ "B-PER": 3,
34
+ "I-LOC": 4,
35
+ "I-MISC": 5,
36
+ "I-ORG": 6,
37
+ "I-PER": 7,
38
+ "O": 8
39
+ },
40
+ "languages": [
41
+ "de_CH",
42
+ "fr_CH",
43
+ "it_CH",
44
+ "rm_CH"
45
+ ],
46
+ "layer_norm_eps": 1e-05,
47
+ "ln_before_adapter": true,
48
+ "max_position_embeddings": 514,
49
+ "model_type": "xmod",
50
+ "num_attention_heads": 12,
51
+ "num_hidden_layers": 12,
52
+ "pad_token_id": 1,
53
+ "position_embedding_type": "absolute",
54
+ "pre_norm": false,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.27.1",
57
+ "type_vocab_size": 1,
58
+ "use_cache": true,
59
+ "vocab_size": 50262
60
+ }
61
+
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d583cd493182cb78fb9f0230f262e9c5c7fac7e3218c8b6942a4269c80232804
3
+ size 609848493
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90f13e153795f964755c7f354690628ad7415b2de7abeb82b82035433c9d53a0
3
+ size 1158958
special_tokens_map.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": true,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": true,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": true,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": "<pad>",
31
+ "sep_token": {
32
+ "content": "</s>",
33
+ "lstrip": true,
34
+ "normalized": true,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ "unk_token": "<unk>",
39
+ "additional_special_tokens": [
40
+ {
41
+ "content": "<medium>",
42
+ "lstrip": true,
43
+ "normalized": true,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ },
47
+ {
48
+ "content": "<year>",
49
+ "lstrip": true,
50
+ "normalized": true,
51
+ "rstrip": false,
52
+ "single_word": false
53
+ },
54
+ {
55
+ "content": "<month>",
56
+ "lstrip": true,
57
+ "normalized": true,
58
+ "rstrip": false,
59
+ "single_word": false
60
+ }
61
+ ]
62
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "__type": "AddedToken",
7
+ "content": "<mask>",
8
+ "lstrip": true,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "model_max_length": 512,
14
+ "pad_token": "<pad>",
15
+ "sep_token": "</s>",
16
+ "sp_model_kwargs": {},
17
+ "tokenizer_class": "XLMRobertaTokenizer",
18
+ "unk_token": "<unk>"
19
+ }