Accurate frequency modelling of inverter-based resource (IBR)-dominated power systems is crucial for ensuring stable, reliable and resilient operations, particularly given their inherent low-inertia characteristics and fast dynamics that traditional swing equation-based models inadequately capture. This paper explores neural ordinary differential equations (Neural ODEs) as a computationally efficient, data-driven framework for modelling power system frequency dynamics, specifically within microgrids integrating high penetrations of distributed energy resources (DERs). The developed neural ODEs framework incorporates a neural network architecture designed to capture input dynamics. By actively perturbing the system with a known signal, the Python-based neural ODEs framework was trained using measured system states and inputs, without the need for detailed system information. The framework, tested on a model of the Cordova, AK, microgrid, achieved a goodness of fit ranging from 60% to 99% across different state variables and maintained a mean square error in the