On the effectiveness of compact biomedical transformers