Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/darthzhu/vte

Source code of paper `Towards Visual Taxonomy Expansion`
https://github.com/darthzhu/vte

Last synced: about 1 month ago
JSON representation

Source code of paper `Towards Visual Taxonomy Expansion`

Awesome Lists containing this project

README

        

# VTE

This is the official repository for *[Towards Visual Taxonomy Expansion](https://arxiv.org/abs/2309.06105)*.

## Dataset

### Chinese Taxonomy Dataset

The constructed Chinese taxonomy dataset is in `./Chinese taxonomy dataset`.
Due to commercial license, we cannot upload the images for each term.
However, it is possible to search each term on search engines to get access to its corresponding image.

In the training file, every hypernymy pair is stored as a list, where the first item denotes the hyponym, while the second item denotes the hypernym.

In the test file, the first item denotes the hyponym, while the second item denotes a potential parent derived from user click logs.

### Semeval-2016 Dataset

The original dataset can be view [here](https://alt.qcri.org/semeval2016/task13/index.php?id=data-and-tools).
The images used for this dataset are uploaded [here](https://drive.google.com/drive/folders/19dNsBkpxH4LD7ivz9toqNOMbv304edkI?usp=sharing).

## How to run

To reproduce our results reported in our paper, run:

```bash
python train.py \
--train_datapath $TRAIN_DATAPATH \
--dev_datapath $DEV_DATAPATH \
--test_datapath $TEST_DATAPATH \
--save_dir $YOUR_SAVE_DIR \
--batch_size $BATCH_SIZE \
--modal_integration add \
--auto_add \
--integration dot \
--train_epochs $EPOCHS
```