The invention discloses a bid invitation file semi-structure automatic generation method and device based on large
language model prompt
fine tuning, and the method comprises the steps: 1, carrying out the preprocessing of bid invitation file data based on a directed acyclic
word graph and a
hidden Markov model; 2, based on a TextRank unsupervised key
phrase extraction method, key phrases are extracted from the preprocessed bid invitation file data, and
annotation prompting is carried out on key content of the bid invitation file; 3, on the basis of a P-tuning prompt
fine tuning method, modeling is conducted on the bid invitation file data and the key phrases through a large
language model, and different initialization parameters are set; a secondary
MASK mechanism is carried out on bid invitation file data to eliminate learning deviation in a model fine adjustment process and improve
feature extraction accuracy, and
feature extraction is still carried out on key phrases in a traditional mode; step 5, constructing a filtering attention mechanism, and performing certain filtering on a
feature vector embedding result: removing useless interference information and retaining key information; and step 6, based on a maximum edge correlation
algorithm, combining the basic bid invitation file subjected to semi-structured
processing with the key information in the extracted bid invitation file, and outputting to obtain a final bid invitation file.