Convert from HF audio dataset to raw audio file

I had some audio file converted to HF audio dataset. right now I want to retrieve those audio files saved as HF audio dataset as .wav file format.
is such a conversion possible?

you can with soundfile

import soundfile as sf
sf.write("filename.wav", data['audio']["array"], samplerate=16000)