Shortcuts

quaterion.dataset.label_cache_dataset module

class LabelCacheDataset(dataset: IndexingDataset)[source]

Bases: Dataset[Union[SimilarityGroupSample, SimilarityPairSample]], LabelCacheDatasetMixin

class LabelCacheDatasetMixin(*args, **kwargs)[source]

Bases: object

load(path)[source]
process_item(index, item)[source]
save(path)[source]
set_mode(mode: LabelCacheMode)[source]
property mode: LabelCacheMode
class LabelCacheIterableDataset(dataset: IndexingIterableDataset)[source]

Bases: IterableDataset[Union[SimilarityGroupSample, SimilarityPairSample]], LabelCacheDatasetMixin

class LabelCacheMode(value)[source]

Bases: Enum

An enumeration.

learn = 1
read = 2
transparent = 0

Qdrant

Learn more about Qdrant vector search project and ecosystem

Discover Qdrant

Similarity Learning

Explore practical problem solving with Similarity Learning

Learn Similarity Learning

Community

Find people dealing with similar problems and get answers to your questions

Join Community