KoichiYasuoka commited on
Commit
bc6ccab
·
1 Parent(s): f13039a

model improved

Browse files
config.json CHANGED
The diff for this file is too large to render. See raw diff
 
maker.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #! /usr/bin/python3
2
+ src="KoichiYasuoka/roberta-base-ukrainian"
3
+ tgt="KoichiYasuoka/roberta-base-ukrainian-upos"
4
+ import os,sys
5
+ os.system("test -d UD_Ukrainian-IU || git clone --depth=1 https://github.com/UniversalDependencies/UD_Ukrainian-IU")
6
+ os.system("test -d UD_Ukrainian-ParlaMint || git clone --depth=1 https://github.com/UniversalDependencies/UD_Ukrainian-ParlaMint")
7
+ os.system("for F in train dev test ; do cat UD_Ukrainian-*/*-$F.conllu > $F.conllu ; done ; cat *.conllu > train.upos")
8
+ os.system(f"{sys.executable} -m esupar.train {src} {tgt} -16 /tmp train.upos")
9
+ os.system(f"{sys.executable} -m esupar.train {tgt} {tgt} 16 /// train.conllu dev.conllu test.conllu")
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:59124a679ed7e8a21c1af7e5492523d31f566c8266291d6b681970dd85193f05
3
- size 434378481
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4674870b5d778e8f42d84a31fc87f0b3e4e5bef406725a41b34ae55b1b62a0a6
3
+ size 444976166
special_tokens_map.json CHANGED
@@ -1 +1,7 @@
1
- {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
supar.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:743f9e0b64332261598f5989a76afcbab67e5569c4286496f8f775fed2a6a14f
3
- size 594683109
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6af43c53e31b499c51d195c4402ae03b8b3554167f967e438debb94b15bbd4c7
3
+ size 489051894
tokenizer_config.json CHANGED
@@ -1 +1,65 @@
1
- {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "lowercase": false, "never_split": ["[CLS]", "[PAD]", "[SEP]", "[UNK]", "[MASK]"], "do_basic_tokenize": true, "model_max_length": 512, "tokenizer_class": "BertTokenizerFast"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[CLS]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "lowercase": false,
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 512,
52
+ "never_split": [
53
+ "[CLS]",
54
+ "[PAD]",
55
+ "[SEP]",
56
+ "[UNK]",
57
+ "[MASK]"
58
+ ],
59
+ "pad_token": "[PAD]",
60
+ "sep_token": "[SEP]",
61
+ "strip_accents": false,
62
+ "tokenize_chinese_chars": true,
63
+ "tokenizer_class": "BertTokenizer",
64
+ "unk_token": "[UNK]"
65
+ }