Hi,
The tailf:annotate extension annotate the resulting schema where the groupings have been expanded where they are used. If you want to annotate the YANG model statements, such as groupings, you need to use tailf:annotate-module/statement.
See for example this topic:
Regards