Atalanta were beaten 2-0 at home to title rivals Inter on Sunday, following a red card for midfielder Ederson on 81 minutes.