The ratio of the yields of antiprotons to protons in pp collisions has been measured by the ALICE experiment at √s=0.9 and 7 TeV during the initial running periods of the Large Hadron Collider. The measurement covers the transverse momentum interval 0.45