Let $\kappa$ be a fixed cardinality. Consider the isomorphism classes of groups that are generated by a set of cardinality at most $\kappa$, and pick a representative for each isomorphism class. Do these representatives form a set? (That is to say, not a proper class).
I think we may equivalently show that the (representatives of isomorphism classes of) groups of rank equal to $\kappa$ form a set. Then we could take the union of these sets over cardinalities $\le \kappa$.
Honestly, I don't really know where to start here – it's a fair bit out of my comfort zone. Can we perhaps bound the cardinality of a group depending on its rank?
I'll also be happy with a reference or a rough outline, since I didn't manage to google my way to an answer.
This question came about from seeing that this construction is used to construct solution sets for the forgetful functor $\mathrm{Group} \to \mathrm{Set}$ (e.g. in Category Theory in Context, Riehl), which in turn let's Quoting Riehl:
Let $\Phi'$ be the set of representatives for isomorphism classes of groups that can be generated by a set of elements of cardinality at most $|S|$. Let $\Phi$ be the set of functions $S \to UG$, with $G \in \Phi'$, whose image generates the group $G$. This is [...] a solution set for $U : \mathrm{Group} \to \mathrm{Set}$.
In this context, it is imporatant that the solution sets are indeed small sets, in order for the adjoint functor theorem to work.