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

fix embedding loading issue of Fairseq model #201

Closed
wants to merge 1 commit into from

Conversation

jinfengr
Copy link

Summary: Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 10, 2019
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 22, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: 4d64750b06632e24381209d06c72ff4038ce1398
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 22, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: df788428706547810fee873654edd3d0cff8b960
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 22, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: 5613e271f691e1034509607caedbb09b0cb85dfd
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 22, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: cce324eaa6320fbca5c163878bc0312a6bb671b3
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 23, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: cc5c8e17a2c249962405f88826f1e9bf803eab97
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 23, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: 9eba5432e9b00abe8bd53faad75523d9e689302d
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 23, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: f60fec92dc153d04cdcf61f593a3d2cca8dceed5
jinfengr pushed a commit to jinfengr/pytext that referenced this pull request Jan 24, 2019
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext fairseq model doesn't support add pretrained embeddings. This diff is to add pretrained embeddings and it introduces a 5 absolution point improvement in accuracy in my NLG task (see f90768868).

Differential Revision: D13475500

fbshipit-source-id: 3717995efdc5b82a0adf42c45d182c882021b97d
Summary:
Pull Request resolved: facebookresearch#201

Currently Pytext doesn't support add pretrained embedding in labels field, which would be required by most encoder-decoder models. This diff updated data_handler to read pretrained embeddings in labels field.

Reviewed By: seayoung1112

Differential Revision: D13475500

fbshipit-source-id: 520d05a85f1ee519200ca8ce9420b30bed252dc6
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants