The present invention relates to inhibitors of bromo and extra terminal (BET) bromodomains that are useful for the treatment of cancer, inflammatory diseases, diabetes, and obesity, having Formula I:wherein W, X, Y, Z, R1, R2, R5, and R8are as described herein.本發明關於適用於治療癌症、發炎性疾病、糖尿病及肥胖症之溴(bromo)及外端(BET)溴域之抑制劑,其具有式I:其中W、X、Y、Z、R1、R2、R5及R8係如本文所述。