Add NextSentencePrediction
as objective to SiamesePreTrainer
#6
Labels
NextSentencePrediction
as objective to SiamesePreTrainer
#6
Add Next Sentence Prediction as an objective to the
SiamesePreTrainer
class. This will require changes toCalBERT
class as well to allow a Transformer model to be passed as input for model_path. The NSP head can be extracted fromAutoModel
classes present on HuggingFaceThe text was updated successfully, but these errors were encountered: