You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Franck-Dernoncourt, a few people are working on a PyTorch version of this code. We have recently added some classes that allow using this model for other tasks.
You can either use our version or translate it back to TensorFlow.
model = Classifier() # Load base model
model.fit(trainX, trainY) # Finetune base model on custom data
predictions = model.predict(testX) # [{'class_1': 0.23, 'class_2': 0.54, ..}, ..]
model.save(path) # Serialize the model to disk
Thanks for the code release. Do you have any timeline to release the code to train the LM and finetune on the other 11 tasks?
The text was updated successfully, but these errors were encountered: