myemfar commited on
Commit
138f88f
·
verified ·
1 Parent(s): c29223e

Initial upload: rpchat multi-task DistilBERT classifier

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ model.onnx.data filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertMultiTask"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "dtype": "float32",
10
+ "hidden_dim": 3072,
11
+ "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
17
+ "qa_dropout": 0.1,
18
+ "seq_classif_dropout": 0.2,
19
+ "sinusoidal_pos_embds": false,
20
+ "tie_weights_": true,
21
+ "transformers_version": "4.57.6",
22
+ "vocab_size": 30522
23
+ }
label_map_da.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "0": "accusation",
3
+ "1": "acknowledgment",
4
+ "2": "action",
5
+ "3": "agree",
6
+ "4": "command",
7
+ "5": "conditional",
8
+ "6": "confession",
9
+ "7": "disagree",
10
+ "8": "emote",
11
+ "9": "farewell",
12
+ "10": "flirt",
13
+ "11": "greeting",
14
+ "12": "hedge",
15
+ "13": "hostile",
16
+ "14": "intent",
17
+ "15": "offer",
18
+ "16": "opinion",
19
+ "17": "out_of_character",
20
+ "18": "question",
21
+ "19": "statement",
22
+ "20": "yes_no_question"
23
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c9eea385de010faa782927bce7cbea04048ddac883e15dd76979579196d7d8b
3
+ size 268022997
model.onnx.data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f33cf71f1822b2c62b444b752dfab17eb7aae4d56207a2479680d969dd803356
3
+ size 267958272
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2a833e297fc68e0161855a3f3c16dff3b3b4747aa048d1a11f06c8fff154cf0
3
+ size 267897340
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.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": 5,
3
+ "batch_size": 32,
4
+ "learning_rate": 3e-05,
5
+ "max_length": 64,
6
+ "lambda_manip": 0.3,
7
+ "num_da_labels": 21,
8
+ "da_label_names": [
9
+ "accusation",
10
+ "acknowledgment",
11
+ "action",
12
+ "agree",
13
+ "command",
14
+ "conditional",
15
+ "confession",
16
+ "disagree",
17
+ "emote",
18
+ "farewell",
19
+ "flirt",
20
+ "greeting",
21
+ "hedge",
22
+ "hostile",
23
+ "intent",
24
+ "offer",
25
+ "opinion",
26
+ "out_of_character",
27
+ "question",
28
+ "statement",
29
+ "yes_no_question"
30
+ ],
31
+ "da_train_size": 9765,
32
+ "manip_train_size": 12949,
33
+ "training_time_seconds": 64.3231897354126,
34
+ "da_accuracy": 0.884,
35
+ "da_correct": 960,
36
+ "da_total": 1086,
37
+ "manip_accuracy": 0.9875,
38
+ "manip_correct": 1421,
39
+ "manip_total": 1439,
40
+ "manip_fp": 8,
41
+ "manip_fn": 10
42
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff