首页>
外国专利>
LANGUAGE MODEL TRAINING METHOD, APPARATUS, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM
LANGUAGE MODEL TRAINING METHOD, APPARATUS, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM
展开▼
机译:语言模型训练方法,装置,电子设备和可读存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present disclosure provides a method for training language model, and associated apparatus, electronic device and readable storage medium, which relates to the technical field of deep learning and the technical field of natural language processing. A specific implementation solution is as follows: sampling a paragraph of text from each article in a plurality of articles respectively, to obtain multiple paragraphs of text; concatenating the multiple paragraphs of text to obtain a concatenated text; inputting the concatenated text into a language model, a prediction value of the number of articles being output via the language model; training the language model based on the actual number of articles in the plurality of articles and a prediction value of the number of articles, until a preset training completion condition is satisfied. In the present disclosure, the classification of the entire paragraph of text content by the language model may be implemented and the effect of recognizing the text content by the language model may be enhanced by training the language model using texts sampled from the plurality of articles.
展开▼