https://github.com/facebookresearch/pythia
Revision 7fb6bdca5ac8a08eb27585f446e98aa6cea92486 authored by Amanpreet Singh on 18 March 2021, 21:24:54 UTC, committed by Facebook GitHub Bot on 18 March 2021, 21:31:54 UTC
Summary:
- For some cases such as MLM we need full sequences. It would be great if we can reuse existing transformer encoder and support that. This PR adds support for the same along with tests

Pull Request resolved: https://github.com/facebookresearch/mmf/pull/814

Test Plan: Tests have been added. Tested also with MVLT

Reviewed By: ytsheng, vedanuj

Differential Revision: D27075345

Pulled By: apsdehal

fbshipit-source-id: c8d475405d4950494831846f2eef795975e5ff6c
1 parent bbc8035
History
Tip revision: 7fb6bdca5ac8a08eb27585f446e98aa6cea92486 authored by Amanpreet Singh on 18 March 2021, 21:24:54 UTC
[feat] Allow returning sequences in transformer encoder (#814)
Tip revision: 7fb6bdc
File Mode Size
.circleci
.github
docs
mmf
mmf_cli
projects
tests
tools
website
.editorconfig -rw-r--r-- 191 bytes
.flake8 -rw-r--r-- 187 bytes
.gitignore -rw-r--r-- 267 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
LICENSE -rw-r--r-- 1.5 KB
MANIFEST.in -rw-r--r-- 130 bytes
NOTICES -rw-r--r-- 2.7 KB
README.md -rw-r--r-- 2.2 KB
pyproject.toml -rw-r--r-- 915 bytes
requirements.txt -rw-r--r-- 351 bytes
setup.py -rw-r--r-- 5.0 KB

README.md

back to top