Justin Herbert threw for 129 yards with a touchdown, and Omarion Hampton had a touchdown with 105 yards, as the Los Angeles Chargers beat the Baltimore Ravens 23-20.