Visualisation of SentenceTransformer trainig

How do you visualize the loss during/after the training with model.fit from SentenceTransformer?
I tried:

model = SentenceTransformer(...)
...
history = model.fit(...)

But the history is None after the training. The documentation does not say anything about return values, or I miss this part of the documentation.