Question about fine tune. #30
Unanswered
JunleiYang
asked this question in
Q&A
Replies: 1 comment
-
Hello! Yes, should work, would probably have to load the detoxify pre-trained model weights and change the final layer so it predicts only 2 classes and just use binary cross_entropy as a loss. Should also change the sigmoid activation function to a softmax. Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, there
Currently, I have a task to classify texts to two classes, blocked and approved. This task is quite like Toxic Comment Classification Challenge. But there are some slight different with this data set. Can I train my own data with the pre-trained model?
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions