A compound of the formula: wherein R 1 is aryl, heteroaryl, C 3-6 cycloalkyl or heteroalkyl, wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4, OR 4, (C=O)R 4, (C=O)OR 4, NR 4 R 5, (C 1-3 alkyl)NR 4 R 5, NH(C=O)R 4, NH(C=O)OR 4, C NR 4 R 5, C 3-6 cycloalkyl and heteroaryl (which is optionally substituted with halo, cyano, (C=O)NR 4 R 5 or R 4); R 2 is hydrogen, hydroxy or CH(R 2a)(R 2b); R 2a is C 1-6 alkyl, aryl, heteroaryl, C 3-6 cycloalkyl or heteroalkyl, wherein said alkyl group is optionally substituted with one to three substituents independently selected from the group consisting of halo, hydroxy and cyano, and wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4 and OR 4; R 2b is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three substituents independently selected from the group consisting of halo, hydroxy and cyano; R 3 is aryl, heteroaryl, C 3-10 cycloalkyl or heteroalkyl, wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4, OR 4, (C=O)R 4, (C=O)OR 4, NR 4 R 5, NH(C=O)R 4, NH(C=O)OR 4, C NR 4 R 5 and heteroaryl; R 4 is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo and hydroxy; R 5 is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo and hydroxy; R 6 is hydrogen, cyano, halo, R 4 or OR 4; R 7 is hydrogen, cyano, halo, R 4 or OR 4; or a pharmaceutically acceptable salt thereof. wherein R 1 is aryl, heteroaryl, C 3-6 cycloalkyl or heteroalkyl, wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4, OR 4, (C=O)R 4, (C=O)OR 4, NR 4 R 5, (C 1-3 alkyl)NR 4 R 5, NH(C=O)R 4, NH(C=O)OR 4, C NR 4 R 5, C 3-6 cycloalkyl and heteroaryl (which is optionally substituted with halo, cyano, (C=O)NR 4 R 5 or R 4); R 2 is hydrogen, hydroxy or CH(R 2a)(R 2b); R 2a is C 1-6 alkyl, aryl, heteroaryl, C 3-6 cycloalkyl or heteroalkyl, wherein said alkyl group is optionally substituted with one to three substituents independently selected from the group consisting of halo, hydroxy and cyano, and wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4 and OR 4; R 2b is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three substituents independently selected from the group consisting of halo, hydroxy and cyano; R 3 is aryl, heteroaryl, C 3-10 cycloalkyl or heteroalkyl, wherein said aryl, heteroaryl, cycloalkyl and heterocyclyl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, nitro, cyano, oxo, R 4, OR 4, (C=O)R 4, (C=O)OR 4, NR 4 R 5, NH(C=O)R 4, NH(C=O)OR 4, C NR 4 R 5 and heteroaryl; R 4 is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo and hydroxy; R 5 is hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo and hydroxy; R 6 is hydrogen, cyano, halo, R 4 or OR 4; R 7 is hydrogen, cyano, halo, R 4 or OR 4;