Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluctuating embedding value #363

Open
blizzardwj opened this issue Oct 12, 2024 · 0 comments
Open

Fluctuating embedding value #363

blizzardwj opened this issue Oct 12, 2024 · 0 comments

Comments

@blizzardwj
Copy link

When the program stopped at this line, then I run this line sever times.
The embeddings_tensor are changing all the time.

# Encode the text to get the embeddings
embeddings_tensor = self.model.encode_text(tokenized_text)

This tensor should be fixed for the same tokenized text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant