This is the repository that contains the code of "Specializing Word Vectors by Spectral Decomposition on Heterogeneously Twisted Graphs".
Word Similarity and Synonym/Antonym Classification task
- Download the data
- Download sim_results and clf_results
- Import
results.pickle
with pythonpickle
module - Change hrswe/ar config in
config.py
withconfig
inresults.pickle
- Run
main.py
oradv_main.py
Lexical Simplification task
- Download the data
- Open
results
inlexical_simiplification
directory and loadres-hyp.pickle
withskopt
module - Change hrswe/ar config in
main_sp_lex_mturk.py
withconfig
inres-hyp.pickle
- Run
main_sp_lex_mturk.py
Note: Due to the randomness in the hyperparameter tuning method, you may not produce the exact same results. But you should obtain similar results.
TODO:
- add the paper
- add the poster
- add the bib file