Disclosed are a multi-granularity fusion model-based intelligent semantic Chinese sentence matching method and a device, pertaining to the field of artificial intelligence and the field of natural language processing. The present invention addresses the technical problems of non-comprehensive semantic analysis and inaccurate sentence matching of single granularity-based models. The method is specifically as follows: S1, constructing a text matching knowledge database; S2, constructing a training data set of a text matching model; S3, constructing a multi-granularity fusion model, which is specifically as follows: S301, constructing a character word mapping conversion table; S302, constructing an input layer; S303, constructing a multi-granularity embedding layer; S304, constructing a multi-granularity fusion encoding layer; S305, constructing an interaction matching layer, and S306, constructing a prediction layer; and S4, training the multi-granularity fusion model. The device comprises a text matching knowledge database construction unit, a training data set construction unit for a text matching model, a multi-granularity fusion model construction unit, and a multi-granularity fusion model training unit.
MULTI-GRANULARITY FUSION MODEL-BASED INTELLIGENT SEMANTIC CHINESE SENTENCE MATCHING METHOD, AND DEVICE