Class DecoderTransformer<N extends FFNetwork>
java.lang.Object
me.damoebe.architectures.Network
me.damoebe.architectures.transformer.DecoderTransformer<N>
-
Constructor Summary
ConstructorsConstructorDescriptionDecoderTransformer(int decoderBlockAmount, Block<Head, N> referenceBlock) Main constructor for a Decoder-Only Transformer with a reference Decoder-Block -
Method Summary
Methods inherited from class me.damoebe.architectures.Network
loadNetworkFromJson, loadToJsonFile
-
Constructor Details
-
DecoderTransformer
Main constructor for a Decoder-Only Transformer with a reference Decoder-Block- Parameters:
decoderBlockAmount- The amount of Decoder Blocks that should be used.referenceBlock- The reference Decoder-Block that will be used to construct the blocks
-
-
Method Details
-
train
-
getOutput
-
insertInput
- Specified by:
insertInputin classNetwork
-
updateAllActivations
public void updateAllActivations()Updates All activations in the transformer as well as the currentOutput- Specified by:
updateAllActivationsin classNetwork
-