There isn't any rhyme or reason for these values. The examples need to be updated to provide more details on how to choose anchor boxes. I apologize for the confusion.
How you pick anchor boxes depends on your data.
As a first step, use this example to help you estimate the number and size of anchor boxes that would work well for your data:
There will be a trade off between the number of anchor boxes and the complexity of the network. You should run experiments with different anchor boxes to zero in on the optimal values for your application.