LCT is Transformers variant model that replaced Feed forward network with LCM , how its work ? LCM looking attention as upgraded signal by step1
step2 for looking attention. and then, LCM will do residural connection (attention (input), laten (output)) for making reached attention signal.
LCT look processing following:
embedding => LCT Block (Attention + LCM ) xN sub model => FFN as decoder => Linear
Here LCM ploating bechmark:
sample
LCT install:
bash
import LCT_architecture
model = keras.models.load(LCt-Tiny-version.keras)