bert icon indicating copy to clipboard operation
bert copied to clipboard

Some detail about bert

Open mfxss opened this issue 8 years ago • 4 comments

Hi, While reading your paper, I got something confused. You said your model architecture is the same as Vaswani's transformer. But Vaswani's has two parts which is an encoder in the left and an decoder. But in your figure 1. I can't tell what Trm’s inner architecture is. The encoder or decoder part?Or both. Does Trm stand for a real number or vector? Thank you!

mfxss avatar Nov 20 '18 08:11 mfxss

BERT only has the encoder part of transformer.

dvector89 avatar Nov 20 '18 09:11 dvector89

@dvector89 I can't understand the figure 1 clearly.E1 stands for the vector of Word1. But what about Trm? I guess every Trm cell outputs an vector, right? Thanks!

mfxss avatar Nov 21 '18 03:11 mfxss

Trm is the abbreviation of Transformation.

dvector89 avatar Nov 22 '18 09:11 dvector89

Yes it's almost exactly equal to the source encoder part of the original transformer. The decoder part is not used at all.

jacobdevlin-google avatar Nov 23 '18 22:11 jacobdevlin-google