Skip to content

training procedure of base-lcm #29

@guangyuli-uoe

Description

@guangyuli-uoe

hi,

really thanks for your impressive work !

just curious about if the training of base-lcm will contain all the steps below ?

def normalize(self, embeddings: Tensor) -> Tensor:
if self.config.with_fft:
embeddings = self.fft_transform(embeddings)

    embeddings = (embeddings - self.center) / self.scale
    if self.config.clip_proba is not None:
        embeddings = torch.clamp(embeddings, min=self.clip_min, max=self.clip_max)
    return embeddings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions