Generate training offsets