Following my question Why is the minimum size of a generating set for a finite group at most $\log_2 n$?, we know that finite groups have generating sets of size at most $\log_2 n$, and a similar statement can be proven for quasigroups. Are there classes of semigroups (other than the class of groups) for which the minimum size of a generating set is at most logarithmic in the number of elements in the semigroup?
More formally, if $\mathcal{G}$ denotes the set of all finite groups and $\mathcal{S}$ denotes the set of all finite semigroups, is there a set $\mathcal{H}$ such that $\mathcal{G} \subsetneq \mathcal{H} \subsetneq \mathcal{S}$ and for each $G$ in $\mathcal{H}$ on $n$ elements, the semigroup $G$ has a generating set of size at most $\log_2 n$ (or even $O(\log_2 n)$)?