Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using annotation tag #16

Open
NoahAmsel opened this issue Jun 19, 2020 · 2 comments
Open

Using annotation tag #16

NoahAmsel opened this issue Jun 19, 2020 · 2 comments

Comments

@NoahAmsel
Copy link
Contributor

Right now we apply either SRC or TRG field to the annotation column. This shouldn't happen, but we DO need a way of sneaking the transformation tag into the vocab.

@NoahAmsel
Copy link
Contributor Author

@NoahAmsel
Copy link
Contributor Author

Write a subclass of seq2seq that keeps a vocabulary mapping translation tags to vectors. Then modify the models to just take this initial vector as input instead of the transition tag.

Also: work out a way to infer the list of transition tags from the dataset. Will probably have to use a Field instead of a RawField, which will mean lots of lists of length 1. But the seq2seq subclass can handle that detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant