How to implement yolo nas model the same as in roboflow

I trained a YOLO NAS s model on my dataset and i got pretty good mAP i want get that model lacally so i trained my own YOLO NAS s model but i didnt get the same mAP (very low precision), i was wondering how to implement the same model used in roboflow loccaly