As the LLMs improve, our Harbour Transfomer code ( based on "Attention is all you need" ) is improving too, getting simpler and cleaner:
Full source code included:
sample1.prg is properly working!
Don't miss this fast and so nice Transformer code for Harbour!
best regards