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

Fix duplicate entries in vocab #721

Closed
wants to merge 1 commit into from

Conversation

geof90
Copy link
Contributor

@geof90 geof90 commented Jun 24, 2019

Summary: We are overriding the pad token during vocab building which will cause pad token to be inserted twice if pad token is also included in the training data, this diff will ensure that the vocab contains each item uniquely

Differential Revision: D15968626

Summary: We are overriding the pad token during vocab building which will cause pad token to be inserted twice if pad token is also included in the training data, this diff will ensure that the vocab contains each item uniquely

Differential Revision: D15968626

fbshipit-source-id: adc0da40f5cba6690813fc22ac64ab7e766052e1
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jun 24, 2019
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 681e20f.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants