I like to pyramid from 15-20 on the first two sets, 8-12 on third and fourth and finish with a heavy 5 rep fifth set for my compound exercises (squat, dead, ohp, bent rows, bench variations etc)
For accessory stuff I pyramid as well but my "heavy" set is in the 7.5-9.5 rep range (edit: and these are typically only 2-3 sets instead of 4-5 for compounds)