Thytu / SMIT

SMIT: A Simple Modality Integration Tool
MIT License
15 stars 3 forks source link

Only save `linear_projector` during pretraining #5

Open Thytu opened 5 months ago

Thytu commented 5 months ago

In the current state, SMIT. will save the whole model (encoder + projector + decoder) during the pretraining. As only the linear_projector is trained during pre-training, this unnecessarily consumes disk space.

During the pretraining stage, the Trainer should only saves the linear_projector in order to limit disk usage.