If one chases after you and you know you cannot fight it then sprint away and run very close to herbivores or small carnivores because it will keep following your trail and choose to attack them instead. If this helped then ^

More Raptor Encountering Tips