Check out the code here for a similar model coded directly in Stan and using performance tricks that I don’t think are in brms
Check out the code here for a similar model coded directly in Stan and using performance tricks that I don’t think are in brms