salesforce / cove

BSD 3-Clause "New" or "Revised" License
473 stars 93 forks source link

Example for one classification task such as sentiment #1

Closed aykutfirat closed 5 years ago

aykutfirat commented 7 years ago

Thanks for releasing the Cove vectors. That is very helpful. Do you have any plans to release one of the examples presented in the paper (such as sentiment) in pytorch as well?

bmccann commented 7 years ago

yes! I'm working on building them on top of more standard data processing tools like torchtext instead of my own custom setup. Once I have that working, I'll push an extended example that should work on all of the classification tasks.

whr94621 commented 6 years ago

Any update on this issue? It would be nice if the implementation of BCN is released.

bmccann commented 6 years ago

AllenNLP has a BCN implementation available: https://github.com/allenai/allennlp/blob/master/allennlp/models/biattentive_classification_network.py. The plan for this repo is just to host CoVe. For training BCN and the other classification tasks, that is a good choice.

whr94621 commented 6 years ago

@bmccann Thank you !