Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 725 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 725 Bytes

V-WSD

disambiguate.py

Use this script to disambiguate target words in context.

Installation:

  • Install pytorch following instructions from the official website.
  • Install dependencies bash consec/setup.sh
  • Download the ConSec "consec_wngt_best.ckpt" checkpoint from here
  • Move "consec_wngt_best.ckpt" to consec/checkpoints
  • Run disambigute.py in the following way PYTHONPATH=$(PWD)/consec python3 disambiguate.py --data_path data/trial.data.txt --output consec.tsv where --data_path is the SE23 dataset path and --output is the path where you would like to save the output