Sanjib Narzary commited on
Commit
8e1e807
·
1 Parent(s): d6509d1

GPT2 fine tune on bodo pos data

Browse files
all_results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eval_precision": 0.22749664128974473, "eval_recall": 0.15587603559374041, "eval_f1": 0.18499635833940278, "eval_accuracy": 0.36907910555421974}
config.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./bodo-gpt2-clm-setencepiece",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForTokenClassification"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "RD_UNK",
13
+ "1": "DM_DMD",
14
+ "2": "N_NNV",
15
+ "3": "QT_QTO",
16
+ "4": "N_NST",
17
+ "5": "PR_PRC",
18
+ "6": "CC_CCS",
19
+ "7": "RP_NEG",
20
+ "8": "QT_QTF",
21
+ "9": "N_NNP",
22
+ "10": "CC_CCD",
23
+ "11": "PR_PRQ",
24
+ "12": "DM_DMR",
25
+ "13": "QT_QTC",
26
+ "14": "DM_DMI",
27
+ "15": "PR_PRF",
28
+ "16": "RB",
29
+ "17": "PSP",
30
+ "18": "V_VAUX_VF",
31
+ "19": "PR_PRP",
32
+ "20": "RD_RDF",
33
+ "21": "RP_RPD",
34
+ "22": "JJ",
35
+ "23": "RP_INJ",
36
+ "24": "V_VM",
37
+ "25": "V_VM_VF",
38
+ "26": "PR_PRL",
39
+ "27": "RD_PUNC",
40
+ "28": "RP_INTF",
41
+ "29": "DM_DMQ",
42
+ "30": "RD_ECH",
43
+ "31": "RD_SYM",
44
+ "32": "N_NN",
45
+ "33": "PR_PRI",
46
+ "34": "V_VM_VNF",
47
+ "35": "V_VAUX"
48
+ },
49
+ "initializer_range": 0.02,
50
+ "label2id": {
51
+ "CC_CCD": 10,
52
+ "CC_CCS": 6,
53
+ "DM_DMD": 1,
54
+ "DM_DMI": 14,
55
+ "DM_DMQ": 29,
56
+ "DM_DMR": 12,
57
+ "JJ": 22,
58
+ "N_NN": 32,
59
+ "N_NNP": 9,
60
+ "N_NNV": 2,
61
+ "N_NST": 4,
62
+ "PR_PRC": 5,
63
+ "PR_PRF": 15,
64
+ "PR_PRI": 33,
65
+ "PR_PRL": 26,
66
+ "PR_PRP": 19,
67
+ "PR_PRQ": 11,
68
+ "PSP": 17,
69
+ "QT_QTC": 13,
70
+ "QT_QTF": 8,
71
+ "QT_QTO": 3,
72
+ "RB": 16,
73
+ "RD_ECH": 30,
74
+ "RD_PUNC": 27,
75
+ "RD_RDF": 20,
76
+ "RD_SYM": 31,
77
+ "RD_UNK": 0,
78
+ "RP_INJ": 23,
79
+ "RP_INTF": 28,
80
+ "RP_NEG": 7,
81
+ "RP_RPD": 21,
82
+ "V_VAUX": 35,
83
+ "V_VAUX_VF": 18,
84
+ "V_VM": 24,
85
+ "V_VM_VF": 25,
86
+ "V_VM_VNF": 34
87
+ },
88
+ "layer_norm_epsilon": 1e-05,
89
+ "model_type": "gpt2",
90
+ "n_ctx": 1024,
91
+ "n_embd": 768,
92
+ "n_head": 12,
93
+ "n_inner": null,
94
+ "n_layer": 12,
95
+ "n_positions": 1024,
96
+ "reorder_and_upcast_attn": false,
97
+ "resid_pdrop": 0.0,
98
+ "scale_attn_by_inverse_layer_idx": false,
99
+ "scale_attn_weights": true,
100
+ "summary_activation": null,
101
+ "summary_first_dropout": 0.1,
102
+ "summary_proj_to_labels": true,
103
+ "summary_type": "cls_index",
104
+ "summary_use_proj": true,
105
+ "task_specific_params": {
106
+ "text-generation": {
107
+ "do_sample": true,
108
+ "max_length": 50
109
+ }
110
+ },
111
+ "torch_dtype": "float32",
112
+ "transformers_version": "4.34.0.dev0",
113
+ "use_cache": true,
114
+ "vocab_size": 50265
115
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7218a73e13d4b9b1702742178bf21e983ae3999768997d1bf6587a6ba9f627e7
3
+ size 497943013
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<cls>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "<sep>",
8
+ "unk_token": "<unk>"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "clean_up_tokenization_spaces": true,
4
+ "model_max_length": 512,
5
+ "special_tokens": [
6
+ "<s>",
7
+ "<pad>",
8
+ "</s>",
9
+ "<unk>",
10
+ "<cls>",
11
+ "<sep>",
12
+ "<mask>"
13
+ ],
14
+ "tokenizer_class": "PreTrainedTokenizerFast"
15
+ }