Update project and configurations
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"base_model_name": "hfl/chinese-macbert-base",
|
||||
"intent_task": "multi_label",
|
||||
"intent_labels": [
|
||||
"cabin_ac_off",
|
||||
"cabin_ac_on",
|
||||
"cabin_defog_front_on",
|
||||
"cabin_defog_rear_on",
|
||||
"cabin_fan_down",
|
||||
"cabin_fan_up",
|
||||
"cabin_lights_off",
|
||||
"cabin_lights_on",
|
||||
"cabin_lock_doors",
|
||||
"cabin_mirror_fold",
|
||||
"cabin_mirror_unfold",
|
||||
"cabin_nav_cancel",
|
||||
"cabin_nav_to",
|
||||
"cabin_next_track",
|
||||
"cabin_pause_music",
|
||||
"cabin_play_music",
|
||||
"cabin_previous_track",
|
||||
"cabin_seat_heat_off",
|
||||
"cabin_seat_heat_on",
|
||||
"cabin_set_ac",
|
||||
"cabin_sunroof_close",
|
||||
"cabin_sunroof_open",
|
||||
"cabin_unlock_doors",
|
||||
"cabin_volume_down",
|
||||
"cabin_volume_mute",
|
||||
"cabin_volume_up",
|
||||
"cabin_window_close",
|
||||
"cabin_window_open",
|
||||
"cabin_wiper_off",
|
||||
"cabin_wiper_on",
|
||||
"cs_cancel_order",
|
||||
"cs_query_logistics",
|
||||
"cs_query_order",
|
||||
"cs_transfer_human"
|
||||
],
|
||||
"slot_labels": [
|
||||
"O",
|
||||
"B-destination",
|
||||
"I-destination",
|
||||
"B-genre",
|
||||
"I-genre",
|
||||
"B-order_id",
|
||||
"I-order_id",
|
||||
"B-song",
|
||||
"I-song",
|
||||
"B-temperature",
|
||||
"I-temperature"
|
||||
],
|
||||
"max_length": 64,
|
||||
"intent_threshold": 0.4,
|
||||
"multi_intent_threshold": 0.4,
|
||||
"max_multi_intents": 4
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"cls_token": {
|
||||
"content": "[CLS]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"mask_token": {
|
||||
"content": "[MASK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "[PAD]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"sep_token": {
|
||||
"content": "[SEP]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "[UNK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
21292
intelligent_cabin/models/local_joint_bert_nlu/tokenizer.json
Normal file
21292
intelligent_cabin/models/local_joint_bert_nlu/tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"added_tokens_decoder": {
|
||||
"0": {
|
||||
"content": "[PAD]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"100": {
|
||||
"content": "[UNK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"101": {
|
||||
"content": "[CLS]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"102": {
|
||||
"content": "[SEP]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"103": {
|
||||
"content": "[MASK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"cls_token": "[CLS]",
|
||||
"do_lower_case": true,
|
||||
"extra_special_tokens": {},
|
||||
"mask_token": "[MASK]",
|
||||
"model_max_length": 1000000000000000019884624838656,
|
||||
"pad_token": "[PAD]",
|
||||
"sep_token": "[SEP]",
|
||||
"strip_accents": null,
|
||||
"tokenize_chinese_chars": true,
|
||||
"tokenizer_class": "BertTokenizer",
|
||||
"unk_token": "[UNK]"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"train_size": 744,
|
||||
"eval_size": 22,
|
||||
"metrics": {
|
||||
"intent_threshold": 0.4,
|
||||
"intent_micro_precision": 0.8974,
|
||||
"intent_micro_recall": 1.0,
|
||||
"intent_micro_f1": 0.9459,
|
||||
"intent_exact_match": 0.8636,
|
||||
"single_intent_top1_accuracy": 1.0,
|
||||
"slot_token_accuracy": 0.9387,
|
||||
"slot_exact_match": 0.7273,
|
||||
"intent_label_count": 34.0,
|
||||
"slot_label_count": 11.0,
|
||||
"train_loss": 0.1618
|
||||
}
|
||||
}
|
||||
21128
intelligent_cabin/models/local_joint_bert_nlu/vocab.txt
Normal file
21128
intelligent_cabin/models/local_joint_bert_nlu/vocab.txt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user