News for hackers. Stuff that matters.
Re:Rethinking Attention with Performers by silveraxe93 on Monday October 26, 2020 @10:22AM (#24896431)
Hey thanks for the super detailed response!

Yeah I was trying to do something that didn't quite fit with the spacy-transformers API at the time. I did get a bit of a headache trying to use thinc at the time, which was just when you guys did the redesign I think, so the docs were different from what I was seeing. I might not have searched enough though.

I didn't try it yet, but it seems that transformers got added to spacy v3 with first class support.

I did gain something from rummaging though spacy source though! NN layers were composed into module-like pieces, then added to this REGISTRY variable though a decorator. That way some things could be defined at runtime. It was super elegant.

I nicked the concept of that for my data preprocessing pipeline. Saved me a lot of time when trying new things.

Re:Rethinking Attention with Performers by syllogism on Monday October 26, 2020 @10:56AM (#24896812)
No worries, and glad it wasn't a total loss! Yeah the registry solution is something we've been very happy with.