LookThem V8

I was courious, what if a token look at other tokens, but without QKV? Instead, it's like make transformation for two tokens (current token and another token), then divide them. Let's say current token is token A and another token is token B. It's divide like "transformA(A) / transformB(B)" which the transform is a linear NN. With tanh for normalizing (to make it don't explode). And, the reverse ("transformA(B) / transformB(A)"). Then, the result of "transformA(A) / transformB(B)" multiply with A, and the reverse multiply with B. Then add them, then divide by 2. That's the new number for that interaction. Add to temp variable. Loop again for another token interaction (but for the code it's vectorized). Then, that variable averaged. That's the new A.

Result:

  • Training 60 epochs with data augmentation, train accuracy: 98.87%
  • Test accuracy: 99.53%
  • Details in notebook
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using ASomeoneWhoInterestedWithAI/LookThem_V8-MNIST_Classifier 1

Collection including ASomeoneWhoInterestedWithAI/LookThem_V8-MNIST_Classifier