The present invention relates to the pyrrolopyridinones being substituted and the Pyrazolopyridine ketone being substituted, and are the inhibitor of the BET albumen of such as BRD2, BRD3, BRD4 and BRD-t and the disease for being suitable for treatment such as cancer.本發明涉及經取代的吡咯并吡啶酮和經取代的吡唑并吡啶酮,其爲諸如BRD2、BRD3、BRD4和BRD‑t的BET蛋白的抑制劑且適用於治療諸如癌症的疾病。