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

fix unk bug in exported model #1076

Closed

Conversation

rutyrinott
Copy link
Contributor

Summary:
previously vocab unk index for torchscripted XLM model, wasn't set, thus was using the default 0, while for training we were using 3.
Fixed, and also added a unit test to allow catching such issues

Differential Revision: D18129567

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 25, 2019
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18129567

Summary:
Pull Request resolved: facebookresearch#1076

previously vocab unk index for torchscripted XLM model, wasn't set, thus was using the default 0, while for training we were using 3.
Fixed, and also added a unit test to allow catching such issues

Reviewed By: mwu1993

Differential Revision: D18129567

fbshipit-source-id: 544bffeef51128bc8b6c425f54d5a3f7a26e9824
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18129567

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 79eeb51.

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