Skip to content

demon-prin/Themis-SEMEVAL-public

Repository files navigation

Themis: Image-Text classification by leveraging LLM

Architecture Overview


Features

Setup

Tip

Before using the code, make sure to follow these setup instructions:

[STEP 1] Requirements install

pip install -r requirements.txt

[STEP 2] Select Model Configuration

The full list of the currently supported model configurations can be found in the train_all.bat file while train_search.bat highlights the full set of possible hyperparameters

[STEP 3] Edit the train.py to match your data

A small usage example suitable for the SEMEVAL challenge data is provided in the "train.py" file feel free to modify it according to your needs

[STEP 4] Train a Themis model

After selecting hyperparameters, model configuration, and train file configuration you can find the trained models under the "outputs" folder

[STEP 5] Test a Themis model

After training your model you can evaluate your model by using the "eval.py" file, be sure to follow the same dataset structure of your "train.py" file, small usage examples are provided in the "eval_all.bat" file

License

This project is licensed under the MIT License.

Citing Themis

If you use Themis in your research and want to cite our work a paper is on the way!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published