The application discloses a
document clustering and sorting method,
system, device and medium based on a language
large model, wherein the method comprises the following steps: collecting document data for structured
processing and preprocessing; inputting the document content into the language
large model to obtain vectorized representation; using a clustering
algorithm on the vectorized document content to obtain a document cluster and a
similarity matrix in the document cluster, sorting the documents in each document cluster according to the weighted sum of the
similarity matrix, and taking the top ten document titles as seed document titles; counting the number of each level document in the document cluster, the total number of documents and the weighted sum of the document cluster
correlation coefficient, and calculating the weighted sum of the three indexes to obtain the final
score of each document cluster, and sorting according to the
score; inputting the seed document title and the set prompt into the language
large model to generate a short
sentence as the class
label of the document cluster. The application can make the document vectorization more accurate, the class sorting more scientific, and the generation of the class
label more specific and automatic.