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

Fix intent slot metric reporter not working with byte offset #883

Closed

Conversation

cyclotomic2
Copy link

Summary: In PyText, the offsets in slots uses byte offset, but were processed though Python slicing. We make the fix in this diff.

Reviewed By: abhinavarora

Differential Revision: D16693644

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 7, 2019
Wenfang Xu added 2 commits August 7, 2019 16:57
Differential Revision: D16693643

fbshipit-source-id: 0567dbcd039e69b90a3bd322083b2747a33c2e2f
…kresearch#883)

Summary:
Pull Request resolved: facebookresearch#883

In PyText, the offsets in slots uses byte offset, but were processed though Python slicing. We make the fix in this diff.

Reviewed By: abhinavarora

Differential Revision: D16693644

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

This pull request has been merged in a48f820.

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