Closed jackn11 closed 1 year ago
The code in tutorial is outdated, please refer to the example folder for latest workable code https://github.com/chengchingwen/Transformers.jl/tree/master/example/AttentionIsAllYouNeed
Thank you for letting me know. It would definitely be useful to have a working tutorial on the docs and until then remove the outdated documentation or at least have some sort of notice.
I get a ERROR: syntax: invalid syntax "preprocess.(sample_data()) = ..." on the last line when I run the code below. The code is from the tutorial on this page https://chengchingwen.github.io/Transformers.jl/dev/tutorial/#Transformers.jl.