arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.15338cs.CL
收藏

从Facebook页面聚类越南语对话,为聊天机器人构建训练数据集

Clustering Vietnamese Conversations From Facebook Page To Build Training Dataset For Chatbot

Nha Trang University(芽庄大学)

Trieu Hai Nguyen, Thi-Kim-Ngoan Pham, Thi-Hong-Minh Bui, Thanh-Quynh-Chau Nguyen

摘要:

构建聊天机器人的最大挑战是训练数据。所需的数据必须是真实的,并且足够大,以训练聊天机器人。我们创建了一个工具来从Facebook页面的Facebook信使获取实际的训练数据。在文本预处理步骤之后,新获得的数据集生成FVnC和Sample数据集。我们使用越南语BERT的再训练(Pho BERT)来提取文本数据的特征。K-Means和DBSCAN聚类算法用于基于来自PhoBERT $_{base}$的输出嵌入对任务进行聚类。我们采用V-测度得分和轮廓得分来评估聚类算法的性能。我们还证明了PhoBERT的效率相比,其他模型的特征提取的样本数据集和维基数据集。还提出了一个GridSearch算法,结合两个聚类评价,以找到最佳参数。由于聚集了如此多的对话,我们节省了大量的时间和精力来构建训练聊天机器人的数据和故事情节。

英文摘要:

The biggest challenge of building chatbots is training data. The required data must be realistic and large enough to train chatbots. We create a tool to get actual training data from Facebook messenger of a Facebook page. After text preprocessing steps, the newly obtained dataset generates FVnC and Sample dataset. We use the Retraining of BERT for Vietnamese (PhoBERT) to extract features of our text data. K-Means and DBSCAN clustering algorithms are used for clustering tasks based on output embeddings from PhoBERT$_{base}$. We apply V-measure score and Silhouette score to evaluate the performance of clustering algorithms. We also demonstrate the efficiency of PhoBERT compared to other models in feature extraction on the Sample dataset and wiki dataset. A GridSearch algorithm that combines both clustering evaluations is also proposed to find optimal parameters. Thanks to clustering such a number of conversations, we save a lot of time and effort to build data and storylines for training chatbot.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑