Skip to content

UAlberta-NLP/v-wsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

SemEval-2023 Task-1 V-WSD: Visual Word Sense Disambiguation (V-WSD)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published