Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

fixed universal_sentence_embedding function #3602

Merged
merged 1 commit into from
Apr 18, 2021

Conversation

Reveyer
Copy link
Contributor

@Reveyer Reveyer commented Apr 17, 2021

Patch description

Fixed the situation that sometimes divides by 0, especially when using update_freq.

Testing steps

Tested with projects.wizard_of_wikipedia.generator.agents:EndToEndAgent agent with train_model.

Other information

Fixed the situation that sometimes divides by 0.
Copy link
Contributor

@stephenroller stephenroller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thank you!

@stephenroller stephenroller merged commit d556d68 into facebookresearch:master Apr 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants