The present invention provides nucleoside phosphoramidate compounds of Formula I,where R1, R2a, R2b, R3, R4, R5a, R5b, R6, R7, R8a, R8b, M and W are as defined herein. The invention further includes pharmaceutical compositions comprising a compound of Formula I, methods of use of these compounds for treating a viral infection, and methods of producing these compounds.