The invention discloses a food
cold chain data visualization automatic generation method VIS-Lma based on a large
language model. The food
cold chain data visualization automatic generation method comprises the steps of collecting and cleaning food
cold chain data, generating an effective
visualization chart by utilizing Tableau, extracting chart elements through
visualization reverse engineering to generate Vega-Lite grammar, and finally constructing a food cold chain corpus FDvis through an iteration generation method. The method comprises the following steps: carrying out feature
processing on a two-tuple of an FDvis corpus, and then carrying out
fine tuning on the corpus by utilizing an Llama3.1 large
language model in combination with a Low-Rank
Adaptation (LoRA) technology, so as to generate a visual automatic generation model VIS-Lma; a VIS-Lma model is integrated to construct a visual automatic generation
system (AIG-FDvis), and rapid analysis of uploaded data and automatic generation of a visual chart are realized. The food cold chain
data visualization method is applied to the field of food cold chains, provides visual recommendation for cold chain analysts, enables the
visualization process of food cold chain data to be more efficient, improves the
data analysis and decision-making ability of the food cold chain analysts, and provides powerful support for
food safety supervision and decision-making.