Revision bbc8035153b8b18ebcd3e2504e487054f12edb92 authored by Amanpreet Singh on 18 March 2021, 20:15:41 UTC, committed by Facebook GitHub Bot on 18 March 2021, 20:17:11 UTC
Summary:
This PR makes some QoL changes for transformer heads so that they can be
used at places other than MMFTransformer.

- Make encoder_layers and processed_sample_list options optional by
default
- Add label key option for mlm to allow direct fetching of maskedlabels
from sample list

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

Test Plan: Tested with GUniT

Reviewed By: ytsheng, vedanuj

Differential Revision: D27062330

Pulled By: apsdehal

fbshipit-source-id: 3f7aed573b65154960a18dffb4ca6600c0d4bb34
1 parent 8f9150b
History
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