Skip to content
Commit 19c17b74 authored by Emanuele Bugliarello's avatar Emanuele Bugliarello Committed by Facebook Github Bot
Browse files

Add option to disable positional embeddings in TransformerModel (#421)

Summary:
Add argument `--no-token-positional-embeddings` to TransformerModel (currently only available in TransformerLanguageModel) to disable positional embeddings.
Pull Request resolved: https://github.com/pytorch/fairseq/pull/421

Differential Revision: D13548450

Pulled By: myleott

fbshipit-source-id: b352c702ed1609e3b84d9a8404941d3274a7f883
parent 03a57dec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment