The invention belongs to the technical field of
large model fine tuning, and particularly discloses a
large model fine tuning parameter version chain management method and
system, a terminal and a medium. Comprising the following steps: in the
fine tuning process of a
large model, performing difference calculation on
model parameters after two adjacent times of fine tuning to obtain corresponding parameter increments; packaging the parameter increment, the
time information, the model identifier and the fine tuning
metadata into log entries; establishing a
time index based on the
time information of the log entries, establishing a model index based on the model identifier, and associating the log entries according to a
time sequence to form a parameter version chain; when a
model parameter recovery request is received, retrieving a log interval before a target time point according to the
time index, loading and accumulating each parameter increment, reconstructing a
model parameter state corresponding to the target time point, generating a parameter snapshot in a memory, and caching the parameter snapshot; according to the method, multi-
version management and quick
rollback can be realized under the condition that a full-quantity model is not stored, the storage occupation is reduced, and the parameter
recovery efficiency and the
system stability are improved.