I created a 3d model with animation in blender,as i exported as .gltf file i get some buggy animation and also if exporte as .gltf i got .bin file from my model.
Please have a look at the troubleshooting section in the 3D models docs: https://threejs.org/docs/#manual/en/introduction/Loading-3D-models. In particular, see if your model looks right in some of the existing viewers listed there. Without more information included in your question we cannot help.