The embodiment of the invention provides a
data processing method and device.The method comprises the steps that a to-be-verified text is obtained, and the to-be-verified text is generated through a
data processing model; a
question text corresponding to the to-be-verified text is generated, the to-be-verified text and the
question text are input into the
data processing model, a target reply generated by the data
processing model is obtained, and the
question text is a text which puts forward a question according to the fact basis of the to-be-verified text; determining target credibility corresponding to the to-be-verified text according to the target reply, and determining a
correctness result of the to-be-verified text according to the target credibility; the data
processing model carries out introspection on the output to-be-verified text through the questioning text, the target credibility of the to-be-verified text is determined according to the internal uncertainty
signal of the data
processing model, the determination of the target credibility is completed in the data processing model, the cost is extremely low, an external
knowledge base does not need to be used for
verification, and the
verification efficiency is greatly improved. And insufficient coverage of an external
knowledge base does not need to be worried.