Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any timeline to release the code to train the LM + finetune on the other 11 tasks? #13

Open
Franck-Dernoncourt opened this issue Jul 18, 2018 · 2 comments

Comments

@Franck-Dernoncourt
Copy link

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?

@rodgzilla
Copy link

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.

@madisonmay
Copy link

@Franck-Dernoncourt we're also working on a tensorflow wrapper that packages things up in a scikit-learn style interface.

For most tasks usage is as straightforward as:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants