Do you have an emergency fund built up? If you don’t already have 6-8 months of expenses stashed away, I’d start there. Then keep some on hand for unexpected expenses. Like others have said, the decision depends on interest rates for the loans.
Another thing to consider is opportunity cost- if you repay the student loans off, while that helps long term it does deprive you of some liquidity. So, if you need to buy a car or another expensive item, you’ll have a loan potentially at a higher rate than if you’d held onto the cash.