Browse Source

merge master

luojunhui 5 ngày trước cách đây
mục cha
commit
08e44460a1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      generate_data_set.py

+ 1 - 1
generate_data_set.py

@@ -225,7 +225,7 @@ def generate_push_dataset():
     data_set = mysql_client.select(fetch_query, cursor_type=DictCursor)
     filter_conversation = [i for i in data_set if len(json.loads(i['conversation'])) >= 20]
 
-    samples =random.sample(filter_conversation, 100)
+    samples =random.sample(filter_conversation, 300)
 
     # init message push agent
     for sample in tqdm(samples):