Created
September 4, 2023 15:04
-
-
Save pythonlessons/67376be380d55b5cfa0a1c55b75028b0 to your computer and use it in GitHub Desktop.
transformers_training
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Train the model | |
transformer.fit( | |
train_dataProvider, | |
validation_data=val_dataProvider, | |
epochs=configs.train_epochs, | |
callbacks=[ | |
warmupCosineDecay, | |
checkpoint, | |
tb_callback, | |
reduceLROnPlat, | |
model2onnx, | |
encDecSplitCallback | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment