Skip to content
/ HRSWE Public

code of the paper "Specializing Word Vectors by Spectral Decomposition on Heterogeneously Twisted Graphs"

Notifications You must be signed in to change notification settings

ryh95/HRSWE

Repository files navigation

HRSWE

This is the repository that contains the code of "Specializing Word Vectors by Spectral Decomposition on Heterogeneously Twisted Graphs".

How to reproduce the results

Word Similarity and Synonym/Antonym Classification task

  1. Download the data
  2. Download sim_results and clf_results
  3. Import results.pickle with python pickle module
  4. Change hrswe/ar config in config.py with config in results.pickle
  5. Run main.py or adv_main.py

Lexical Simplification task

  1. Download the data
  2. Open results in lexical_simiplification directory and load res-hyp.pickle with skopt module
  3. Change hrswe/ar config in main_sp_lex_mturk.py with config in res-hyp.pickle
  4. 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.

Supplementary Materials

TODO:

  • add the paper
  • add the poster
  • add the bib file

About

code of the paper "Specializing Word Vectors by Spectral Decomposition on Heterogeneously Twisted Graphs"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published