├── README.md ├── evaluate.ipynb ├── stage_one ├── CUB ├── FLO ├── README.md ├── environment.yaml ├── main.py ├── modules │ ├── __init__.py │ ├── datasets │ │ ├── NLISentencesDatasetOnline.py │ │ └── __init__.py │ ├── evaluators │ │ ├── CUBDatasetEvaluator.py │ │ ├── EmbeddingSimilarityEvaluatorCustom.py │ │ └── __init__.py │ ├── losses │ │ ├── CrossEntropyLossCustom.py │ │ └── __init__.py │ └── models │ │ ├── SentenceTransformerCustom.py │ │ ├── SiameseSentenceTransformer.py │ │ └── __init__.py └── train.sh └── stage_two ├── CUB ├── FLO ├── README.md ├── custom_dataset.py ├── environment.yaml ├── extract_feats.py ├── main.py ├── new_loss.py ├── siamese_fcn.py ├── train.sh └── utils.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/README.md -------------------------------------------------------------------------------- /evaluate.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/evaluate.ipynb -------------------------------------------------------------------------------- /stage_one/CUB: -------------------------------------------------------------------------------- 1 | ../datasets/CUB -------------------------------------------------------------------------------- /stage_one/FLO: -------------------------------------------------------------------------------- 1 | ../datasets/FLO -------------------------------------------------------------------------------- /stage_one/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/README.md -------------------------------------------------------------------------------- /stage_one/environment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/environment.yaml -------------------------------------------------------------------------------- /stage_one/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/main.py -------------------------------------------------------------------------------- /stage_one/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stage_one/modules/datasets/NLISentencesDatasetOnline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/datasets/NLISentencesDatasetOnline.py -------------------------------------------------------------------------------- /stage_one/modules/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/datasets/__init__.py -------------------------------------------------------------------------------- /stage_one/modules/evaluators/CUBDatasetEvaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/evaluators/CUBDatasetEvaluator.py -------------------------------------------------------------------------------- /stage_one/modules/evaluators/EmbeddingSimilarityEvaluatorCustom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/evaluators/EmbeddingSimilarityEvaluatorCustom.py -------------------------------------------------------------------------------- /stage_one/modules/evaluators/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/evaluators/__init__.py -------------------------------------------------------------------------------- /stage_one/modules/losses/CrossEntropyLossCustom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/losses/CrossEntropyLossCustom.py -------------------------------------------------------------------------------- /stage_one/modules/losses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/losses/__init__.py -------------------------------------------------------------------------------- /stage_one/modules/models/SentenceTransformerCustom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/models/SentenceTransformerCustom.py -------------------------------------------------------------------------------- /stage_one/modules/models/SiameseSentenceTransformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/models/SiameseSentenceTransformer.py -------------------------------------------------------------------------------- /stage_one/modules/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/modules/models/__init__.py -------------------------------------------------------------------------------- /stage_one/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_one/train.sh -------------------------------------------------------------------------------- /stage_two/CUB: -------------------------------------------------------------------------------- 1 | ../datasets/CUB -------------------------------------------------------------------------------- /stage_two/FLO: -------------------------------------------------------------------------------- 1 | ../datasets/FLO -------------------------------------------------------------------------------- /stage_two/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/README.md -------------------------------------------------------------------------------- /stage_two/custom_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/custom_dataset.py -------------------------------------------------------------------------------- /stage_two/environment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/environment.yaml -------------------------------------------------------------------------------- /stage_two/extract_feats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/extract_feats.py -------------------------------------------------------------------------------- /stage_two/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/main.py -------------------------------------------------------------------------------- /stage_two/new_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/new_loss.py -------------------------------------------------------------------------------- /stage_two/siamese_fcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/siamese_fcn.py -------------------------------------------------------------------------------- /stage_two/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/train.sh -------------------------------------------------------------------------------- /stage_two/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhc/clever/HEAD/stage_two/utils.py --------------------------------------------------------------------------------