update intent
Browse files- config.json +68 -34
- id2label.json +35 -0
- label2id.json +35 -0
- label_encoder.pkl +2 -2
- model.safetensors +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +2 -8
- training_args.bin +1 -1
- training_info.json +109 -0
config.json
CHANGED
|
@@ -8,47 +8,82 @@
|
|
| 8 |
"classifier_dropout": null,
|
| 9 |
"dtype": "float32",
|
| 10 |
"eos_token_id": null,
|
|
|
|
| 11 |
"hidden_act": "gelu",
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|
| 14 |
"id2label": {
|
| 15 |
-
"0": "
|
| 16 |
-
"1": "
|
| 17 |
-
"2": "
|
| 18 |
-
"3": "
|
| 19 |
-
"4": "
|
| 20 |
-
"5": "
|
| 21 |
-
"6": "
|
| 22 |
-
"7": "
|
| 23 |
-
"8": "
|
| 24 |
-
"9": "
|
| 25 |
-
"10": "
|
| 26 |
-
"11": "
|
| 27 |
-
"12": "
|
| 28 |
-
"13": "
|
| 29 |
-
"14": "
|
| 30 |
-
"15": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
},
|
| 32 |
"initializer_range": 0.02,
|
| 33 |
"intermediate_size": 3072,
|
| 34 |
"is_decoder": false,
|
| 35 |
"label2id": {
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
-
"
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
-
"
|
| 51 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
},
|
| 53 |
"layer_norm_eps": 1e-12,
|
| 54 |
"max_position_embeddings": 512,
|
|
@@ -56,10 +91,9 @@
|
|
| 56 |
"num_attention_heads": 12,
|
| 57 |
"num_hidden_layers": 12,
|
| 58 |
"pad_token_id": 0,
|
| 59 |
-
"problem_type": "single_label_classification",
|
| 60 |
"tie_word_embeddings": true,
|
| 61 |
"transformers_version": "5.0.0",
|
| 62 |
"type_vocab_size": 2,
|
| 63 |
"use_cache": false,
|
| 64 |
-
"vocab_size":
|
| 65 |
}
|
|
|
|
| 8 |
"classifier_dropout": null,
|
| 9 |
"dtype": "float32",
|
| 10 |
"eos_token_id": null,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
"hidden_act": "gelu",
|
| 13 |
"hidden_dropout_prob": 0.1,
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
+
"0": "ambiguous_place",
|
| 17 |
+
"1": "ask_location",
|
| 18 |
+
"2": "ask_price",
|
| 19 |
+
"3": "ask_rating",
|
| 20 |
+
"4": "availability_question",
|
| 21 |
+
"5": "best_of",
|
| 22 |
+
"6": "clarification_response",
|
| 23 |
+
"7": "compare_places",
|
| 24 |
+
"8": "confirm",
|
| 25 |
+
"9": "deny",
|
| 26 |
+
"10": "fallback",
|
| 27 |
+
"11": "filter_results",
|
| 28 |
+
"12": "goodbye",
|
| 29 |
+
"13": "greeting",
|
| 30 |
+
"14": "housing_search",
|
| 31 |
+
"15": "menu_filter",
|
| 32 |
+
"16": "nearby_search",
|
| 33 |
+
"17": "nearest_cafe",
|
| 34 |
+
"18": "nearest_pharmacy",
|
| 35 |
+
"19": "nearest_restaurant",
|
| 36 |
+
"20": "nearest_supermarket",
|
| 37 |
+
"21": "no_result_recovery",
|
| 38 |
+
"22": "open_now",
|
| 39 |
+
"23": "open_now_extended",
|
| 40 |
+
"24": "place_details",
|
| 41 |
+
"25": "price_question",
|
| 42 |
+
"26": "recommend_place",
|
| 43 |
+
"27": "recommendation_by_mood",
|
| 44 |
+
"28": "search_by_item",
|
| 45 |
+
"29": "show_menu",
|
| 46 |
+
"30": "show_more",
|
| 47 |
+
"31": "sort_results",
|
| 48 |
+
"32": "thanks"
|
| 49 |
},
|
| 50 |
"initializer_range": 0.02,
|
| 51 |
"intermediate_size": 3072,
|
| 52 |
"is_decoder": false,
|
| 53 |
"label2id": {
|
| 54 |
+
"ambiguous_place": 0,
|
| 55 |
+
"ask_location": 1,
|
| 56 |
+
"ask_price": 2,
|
| 57 |
+
"ask_rating": 3,
|
| 58 |
+
"availability_question": 4,
|
| 59 |
+
"best_of": 5,
|
| 60 |
+
"clarification_response": 6,
|
| 61 |
+
"compare_places": 7,
|
| 62 |
+
"confirm": 8,
|
| 63 |
+
"deny": 9,
|
| 64 |
+
"fallback": 10,
|
| 65 |
+
"filter_results": 11,
|
| 66 |
+
"goodbye": 12,
|
| 67 |
+
"greeting": 13,
|
| 68 |
+
"housing_search": 14,
|
| 69 |
+
"menu_filter": 15,
|
| 70 |
+
"nearby_search": 16,
|
| 71 |
+
"nearest_cafe": 17,
|
| 72 |
+
"nearest_pharmacy": 18,
|
| 73 |
+
"nearest_restaurant": 19,
|
| 74 |
+
"nearest_supermarket": 20,
|
| 75 |
+
"no_result_recovery": 21,
|
| 76 |
+
"open_now": 22,
|
| 77 |
+
"open_now_extended": 23,
|
| 78 |
+
"place_details": 24,
|
| 79 |
+
"price_question": 25,
|
| 80 |
+
"recommend_place": 26,
|
| 81 |
+
"recommendation_by_mood": 27,
|
| 82 |
+
"search_by_item": 28,
|
| 83 |
+
"show_menu": 29,
|
| 84 |
+
"show_more": 30,
|
| 85 |
+
"sort_results": 31,
|
| 86 |
+
"thanks": 32
|
| 87 |
},
|
| 88 |
"layer_norm_eps": 1e-12,
|
| 89 |
"max_position_embeddings": 512,
|
|
|
|
| 91 |
"num_attention_heads": 12,
|
| 92 |
"num_hidden_layers": 12,
|
| 93 |
"pad_token_id": 0,
|
|
|
|
| 94 |
"tie_word_embeddings": true,
|
| 95 |
"transformers_version": "5.0.0",
|
| 96 |
"type_vocab_size": 2,
|
| 97 |
"use_cache": false,
|
| 98 |
+
"vocab_size": 30000
|
| 99 |
}
|
id2label.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "ambiguous_place",
|
| 3 |
+
"1": "ask_location",
|
| 4 |
+
"2": "ask_price",
|
| 5 |
+
"3": "ask_rating",
|
| 6 |
+
"4": "availability_question",
|
| 7 |
+
"5": "best_of",
|
| 8 |
+
"6": "clarification_response",
|
| 9 |
+
"7": "compare_places",
|
| 10 |
+
"8": "confirm",
|
| 11 |
+
"9": "deny",
|
| 12 |
+
"10": "fallback",
|
| 13 |
+
"11": "filter_results",
|
| 14 |
+
"12": "goodbye",
|
| 15 |
+
"13": "greeting",
|
| 16 |
+
"14": "housing_search",
|
| 17 |
+
"15": "menu_filter",
|
| 18 |
+
"16": "nearby_search",
|
| 19 |
+
"17": "nearest_cafe",
|
| 20 |
+
"18": "nearest_pharmacy",
|
| 21 |
+
"19": "nearest_restaurant",
|
| 22 |
+
"20": "nearest_supermarket",
|
| 23 |
+
"21": "no_result_recovery",
|
| 24 |
+
"22": "open_now",
|
| 25 |
+
"23": "open_now_extended",
|
| 26 |
+
"24": "place_details",
|
| 27 |
+
"25": "price_question",
|
| 28 |
+
"26": "recommend_place",
|
| 29 |
+
"27": "recommendation_by_mood",
|
| 30 |
+
"28": "search_by_item",
|
| 31 |
+
"29": "show_menu",
|
| 32 |
+
"30": "show_more",
|
| 33 |
+
"31": "sort_results",
|
| 34 |
+
"32": "thanks"
|
| 35 |
+
}
|
label2id.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"ambiguous_place": 0,
|
| 3 |
+
"ask_location": 1,
|
| 4 |
+
"ask_price": 2,
|
| 5 |
+
"ask_rating": 3,
|
| 6 |
+
"availability_question": 4,
|
| 7 |
+
"best_of": 5,
|
| 8 |
+
"clarification_response": 6,
|
| 9 |
+
"compare_places": 7,
|
| 10 |
+
"confirm": 8,
|
| 11 |
+
"deny": 9,
|
| 12 |
+
"fallback": 10,
|
| 13 |
+
"filter_results": 11,
|
| 14 |
+
"goodbye": 12,
|
| 15 |
+
"greeting": 13,
|
| 16 |
+
"housing_search": 14,
|
| 17 |
+
"menu_filter": 15,
|
| 18 |
+
"nearby_search": 16,
|
| 19 |
+
"nearest_cafe": 17,
|
| 20 |
+
"nearest_pharmacy": 18,
|
| 21 |
+
"nearest_restaurant": 19,
|
| 22 |
+
"nearest_supermarket": 20,
|
| 23 |
+
"no_result_recovery": 21,
|
| 24 |
+
"open_now": 22,
|
| 25 |
+
"open_now_extended": 23,
|
| 26 |
+
"place_details": 24,
|
| 27 |
+
"price_question": 25,
|
| 28 |
+
"recommend_place": 26,
|
| 29 |
+
"recommendation_by_mood": 27,
|
| 30 |
+
"search_by_item": 28,
|
| 31 |
+
"show_menu": 29,
|
| 32 |
+
"show_more": 30,
|
| 33 |
+
"sort_results": 31,
|
| 34 |
+
"thanks": 32
|
| 35 |
+
}
|
label_encoder.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ad3aebbf8fe016b5c7861a313ee02f4b04512d56aad3bf6237b2d701ce0c018
|
| 3 |
+
size 990
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ca3c221dd4483c710a34448f9932fbf1ba860c2ba8711c4118620ce1dbb9d5a
|
| 3 |
+
size 436450388
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -1,17 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"backend": "tokenizers",
|
| 3 |
"cls_token": "[CLS]",
|
| 4 |
-
"do_basic_tokenize": true,
|
| 5 |
"do_lower_case": false,
|
|
|
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
-
"
|
| 9 |
-
"model_max_length": 512,
|
| 10 |
-
"never_split": [
|
| 11 |
-
"[بريد]",
|
| 12 |
-
"[مستخدم]",
|
| 13 |
-
"[رابط]"
|
| 14 |
-
],
|
| 15 |
"pad_token": "[PAD]",
|
| 16 |
"sep_token": "[SEP]",
|
| 17 |
"strip_accents": null,
|
|
|
|
| 1 |
{
|
| 2 |
"backend": "tokenizers",
|
| 3 |
"cls_token": "[CLS]",
|
|
|
|
| 4 |
"do_lower_case": false,
|
| 5 |
+
"full_tokenizer_file": null,
|
| 6 |
"is_local": false,
|
| 7 |
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 1000000000000000019884624838656,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"pad_token": "[PAD]",
|
| 10 |
"sep_token": "[SEP]",
|
| 11 |
"strip_accents": null,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5137
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d5162ae9085447e6694d5e34a96718ff1d206cfa93e6ac20f6e1419faf34573
|
| 3 |
size 5137
|
training_info.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "CAMeL-Lab/bert-base-arabic-camelbert-mix",
|
| 3 |
+
"max_length": 64,
|
| 4 |
+
"threshold": 0.5,
|
| 5 |
+
"num_labels": 33,
|
| 6 |
+
"intents": [
|
| 7 |
+
"ambiguous_place",
|
| 8 |
+
"ask_location",
|
| 9 |
+
"ask_price",
|
| 10 |
+
"ask_rating",
|
| 11 |
+
"availability_question",
|
| 12 |
+
"best_of",
|
| 13 |
+
"clarification_response",
|
| 14 |
+
"compare_places",
|
| 15 |
+
"confirm",
|
| 16 |
+
"deny",
|
| 17 |
+
"fallback",
|
| 18 |
+
"filter_results",
|
| 19 |
+
"goodbye",
|
| 20 |
+
"greeting",
|
| 21 |
+
"housing_search",
|
| 22 |
+
"menu_filter",
|
| 23 |
+
"nearby_search",
|
| 24 |
+
"nearest_cafe",
|
| 25 |
+
"nearest_pharmacy",
|
| 26 |
+
"nearest_restaurant",
|
| 27 |
+
"nearest_supermarket",
|
| 28 |
+
"no_result_recovery",
|
| 29 |
+
"open_now",
|
| 30 |
+
"open_now_extended",
|
| 31 |
+
"place_details",
|
| 32 |
+
"price_question",
|
| 33 |
+
"recommend_place",
|
| 34 |
+
"recommendation_by_mood",
|
| 35 |
+
"search_by_item",
|
| 36 |
+
"show_menu",
|
| 37 |
+
"show_more",
|
| 38 |
+
"sort_results",
|
| 39 |
+
"thanks"
|
| 40 |
+
],
|
| 41 |
+
"mood_keywords": [
|
| 42 |
+
"هادي",
|
| 43 |
+
"رومانسي",
|
| 44 |
+
"للعيلة",
|
| 45 |
+
"للشغل",
|
| 46 |
+
"للأصحاب",
|
| 47 |
+
"للسهر",
|
| 48 |
+
"مريح",
|
| 49 |
+
"رايق",
|
| 50 |
+
"هنادي",
|
| 51 |
+
"للمذاكرة",
|
| 52 |
+
"هادئ",
|
| 53 |
+
"هادية",
|
| 54 |
+
"مش زحمة",
|
| 55 |
+
"بعيد عن الزحمة",
|
| 56 |
+
"للدراسة"
|
| 57 |
+
],
|
| 58 |
+
"time_keywords": [
|
| 59 |
+
"دلوقتي",
|
| 60 |
+
"حاليا",
|
| 61 |
+
"بعد 12",
|
| 62 |
+
"بعد نص الليل",
|
| 63 |
+
"24 ساعة",
|
| 64 |
+
"الصبح بدري",
|
| 65 |
+
"الفجر",
|
| 66 |
+
"3 الصبح",
|
| 67 |
+
"بعد 2",
|
| 68 |
+
"بليل",
|
| 69 |
+
"بالليل",
|
| 70 |
+
"نص الليل"
|
| 71 |
+
],
|
| 72 |
+
"food_keywords": [
|
| 73 |
+
"جعان",
|
| 74 |
+
"جوعان",
|
| 75 |
+
"عايز اكل",
|
| 76 |
+
"عايزة اكل",
|
| 77 |
+
"نفسي اكل",
|
| 78 |
+
"نفسي في اكل",
|
| 79 |
+
"اتغدى",
|
| 80 |
+
"اتعشى"
|
| 81 |
+
],
|
| 82 |
+
"cafe_keywords": [
|
| 83 |
+
"قهوة",
|
| 84 |
+
"كافيه",
|
| 85 |
+
"كوفي",
|
| 86 |
+
"نسكافيه",
|
| 87 |
+
"فاصل قهوة",
|
| 88 |
+
"عايز اشرب حاجة"
|
| 89 |
+
],
|
| 90 |
+
"recommend_words": [
|
| 91 |
+
"رشحلي",
|
| 92 |
+
"رشح",
|
| 93 |
+
"اقترحلي",
|
| 94 |
+
"اقترح",
|
| 95 |
+
"اختارلي",
|
| 96 |
+
"تنصحني",
|
| 97 |
+
"ترشحلي"
|
| 98 |
+
],
|
| 99 |
+
"clarify_words": [
|
| 100 |
+
"مش فاهم",
|
| 101 |
+
"مش فاهمة",
|
| 102 |
+
"تقصد ايه",
|
| 103 |
+
"وضح",
|
| 104 |
+
"وضحي",
|
| 105 |
+
"مش واضح"
|
| 106 |
+
],
|
| 107 |
+
"eval_accuracy": 0.9753320683111955,
|
| 108 |
+
"eval_f1_weighted": 0.9753451514935224
|
| 109 |
+
}
|