You can also manually replicate the results of the pipeline if you'd like:

Load a feature extractor to preprocess the audio file and return the input as PyTorch tensors:

from transformers import AutoFeatureExtractor
feature_extractor = AutoFeatureExtractor.from_pretrained("stevhliu/my_awesome_minds_model")
inputs = feature_extractor(dataset[0]["audio"]["array"], sampling_rate=sampling_rate, return_tensors="pt")

Pass your inputs to the model and return the logits: