beratdogan commited on
Commit
743aed7
·
verified ·
1 Parent(s): 325f9c4

Upload folder using huggingface_hub

Browse files
checkpoint-epoch20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c26f63d1150aee969af014b0a10d2e7029fa492c5588682a5ccc606337245347
3
+ size 1323131379
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "experiment": "POS_Tagging",
3
+ "name": "ota_boun",
4
+ "n_gpu": 1,
5
+ "model": {
6
+ "type": "MultiParser",
7
+ "args": {
8
+ "embeddings_processor": {
9
+ "type": "BertWrapper",
10
+ "args": {
11
+ "model_path": "data/pretrained_embeddings/bert-base-turkish-cased-nonpretrained",
12
+ "fine_tune": true,
13
+ "hidden_dropout": 0.2,
14
+ "attn_dropout": 0.2,
15
+ "output_dropout": 0.5,
16
+ "scalar_mix_layer_dropout": 0.1,
17
+ "token_mask_prob": 0.15
18
+ }
19
+ },
20
+ "outputs": {
21
+ "upos": {
22
+ "type": "SequenceTagger",
23
+ "args": {
24
+ "hidden_size": 0,
25
+ "input_dropout": 0.2,
26
+ "vocab": {
27
+ "type": "BasicVocab",
28
+ "args": {
29
+ "vocab_filename": "data/corpora/ota_boun/vocab/basic.vocab"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ },
37
+ "data_loaders": {
38
+ "type": "BucketedCONLLLoader",
39
+ "args": {
40
+ "annotation_layers": {
41
+ "upos": {
42
+ "type": "TagSequence",
43
+ "source_column": 3,
44
+ "args": {
45
+ "ignore_root": true
46
+ }
47
+ }
48
+ },
49
+ "batch_size": 32,
50
+ "bucket_size": 512,
51
+ "max_tokens_per_batch": 156800,
52
+ "num_workers": 2
53
+ },
54
+ "paths": {
55
+ "train": "data/corpora/ota_boun/ota_boun-ud-train.conllu",
56
+ "dev": "data/corpora/ota_boun/tr_boun-ud-test.conllu"
57
+ }
58
+ },
59
+ "trainer": {
60
+ "min_epochs": 15,
61
+ "max_epochs": 300,
62
+ "early_stop": 15,
63
+ "save_dir": "data/saved_models/",
64
+ "save_period": 20,
65
+ "verbosity": 2,
66
+ "validation_criterion": {
67
+ "metrics": {
68
+ "upos": "fscore"
69
+ },
70
+ "weighting": "multiplicative"
71
+ },
72
+ "optimizer": {
73
+ "type": "AdamW",
74
+ "args": {
75
+ "lr": 4e-05,
76
+ "weight_decay": 0.0
77
+ }
78
+ },
79
+ "lr_scheduler": {
80
+ "type": "LambdaLR",
81
+ "args": {
82
+ "lr_lambda": "SqrtSchedule(400)"
83
+ }
84
+ },
85
+ "loss": {
86
+ "type": "CrossEntropyLoss",
87
+ "args": {
88
+ "ignore_index": -1
89
+ }
90
+ }
91
+ }
92
+ }
info.log ADDED
The diff for this file is too large to render. See raw diff
 
model_best.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:014b3405d41cf7abc8e8f43a0b842743253b5cb7ae817d2433d987fe755f2764
3
+ size 1323124523
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "max_len": 512, "special_tokens_map_file": null, "full_tokenizer_file": null}
tokenizer/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
transformer.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.2,
6
+ "gradient_checkpointing": false,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.2,
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "bert",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
+ "output_hidden_states": true,
18
+ "pad_token_id": 0,
19
+ "type_vocab_size": 2,
20
+ "vocab_size": 32000
21
+ }
upos.vocab ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ADJ
2
+ ADP
3
+ ADV
4
+ AUX
5
+ CCONJ
6
+ DET
7
+ INTJ
8
+ NOUN
9
+ NUM
10
+ PART
11
+ PRON
12
+ PROPN
13
+ PUNCT
14
+ SCONJ
15
+ VERB
16
+ X
17
+ _