Please check the two papers 'Modelling compensated antiferromagnetic interfaces with MuMax3' and 'Modelling exchange bias with MuMax3' by J de Clercq et al. The first paper comes with supplementary info that gives an example of how to construct an AFM/FM system. The second paper did not include sample code, however the code was posted in this previous
post by Jonas de Clercq. It includes some sample code for the exchange bias problem.
I think it mostly contains the same information, but see also these posts from them on
Researchgate.
In addition to sample code, the paper and posts has some discussion that is worth reading on various assumptions/limitations etc.
Best,
Josh L.