now.constants module#

class now.constants.Modalities[source]#

Bases: now.utils.BetterEnum

TEXT = 'text'#
IMAGE = 'image'#
MUSIC = 'music'#
VIDEO = 'video'#
TEXT_AND_IMAGE = 'text_and_image'#
class now.constants.Apps[source]#

Bases: now.utils.BetterEnum

TEXT_TO_TEXT = 'text_to_text'#
TEXT_TO_IMAGE = 'text_to_image'#
IMAGE_TO_TEXT = 'image_to_text'#
IMAGE_TO_IMAGE = 'image_to_image'#
MUSIC_TO_MUSIC = 'music_to_music'#
TEXT_TO_VIDEO = 'text_to_video'#
TEXT_TO_TEXT_AND_IMAGE = 'text_to_text_and_image'#
class now.constants.DatasetTypes[source]#

Bases: now.utils.BetterEnum

DEMO = 'demo'#
PATH = 'path'#
URL = 'url'#
DOCARRAY = 'docarray'#
S3_BUCKET = 's3_bucket'#
ELASTICSEARCH = 'elasticsearch'#
class now.constants.Qualities[source]#

Bases: now.utils.BetterEnum

MEDIUM = 'medium'#
GOOD = 'good'#
EXCELLENT = 'excellent'#
class now.constants.ModelNames[source]#

Bases: now.utils.BetterEnum

MLP = 'mlp'#
SBERT = 'sentence-transformers/msmarco-distilbert-base-v3'#
CLIP = 'openai/clip-vit-base-patch32'#
class now.constants.DemoDatasets[source]#

Bases: object

BEST_ARTWORKS = 'best-artworks'#
NFT_MONKEY = 'nft-monkey'#
TLL = 'tll'#
BIRD_SPECIES = 'bird-species'#
STANFORD_CARS = 'stanford-cars'#
DEEP_FASHION = 'deepfashion'#
NIH_CHEST_XRAYS = 'nih-chest-xrays'#
GEOLOCATION_GEOGUESSR = 'geolocation-geoguessr'#
MUSIC_GENRES_ROCK = 'music-genres-mid'#
MUSIC_GENRES_MIX = 'music-genres-mix'#
ROCK_LYRICS = 'rock-lyrics'#
POP_LYRICS = 'pop-lyrics'#
RAP_LYRICS = 'rap-lyrics'#
INDIE_LYRICS = 'indie-lyrics'#
METAL_LYRICS = 'metal-lyrics'#
TUMBLR_GIFS = 'tumblr-gifs'#
TUMBLR_GIFS_10K = 'tumblr-gifs-10k'#
ES_ONLINE_SHOP_50 = 'extracted-data-online-shop-50-flat'#