Might have a ignition coil going out check for good spark
that happened to me not to long ago make sure exhaust is hot out both pipes before you ride or check voltage at coils then check spark. Or air could be getting in on rubber boots betweencarb and intake I recently had same troubles.Are you backfiring too?