Skip to content

training procedure of base-lcm #29

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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