This Space allows you to evaluate your model predictions against the MMAU (Massive Multi-task Audio Understanding) benchmark.
Your predictions file should be a JSON array with objects containing:
[
{
"id": "sample-uuid-here",
"model_prediction": "your model's answer"
},
{
"id": "another-sample-uuid",
"model_prediction": "another answer"
}
]
id: Must match the sample IDs from the MMAU test setmodel_prediction: Your model's predicted answerThe evaluation provides:
To deploy this Space:
app.pyrequirements.txtmmau-test.json (the ground truth file - keep this private!)The mmau-test.json file contains the ground truth answers. To keep it private:
Option 1: Private Space
Option 2: Use Hugging Face Secrets
app.py to load from the secretOption 3: Git LFS with .gitattributes
mmau-test.json to .gitignorefrom huggingface_hub import hf_hub_download
import os
# Load from private dataset
GROUND_TRUTH_PATH = hf_hub_download(
repo_id="your-username/mmau-ground-truth",
filename="mmau-test.json",
repo_type="dataset",
token=os.environ.get("HF_TOKEN")
)
Then add HF_TOKEN as a secret in your Space settings.
26 commits
This Space allows you to evaluate your model predictions against the MMAU (Massive Multi-task Audio Understanding) benchmark.
Your predictions file should be a JSON array with objects containing:
[
{
"id": "sample-uuid-here",
"model_prediction": "your model's answer"
},
{
"id": "another-sample-uuid",
"model_prediction": "another answer"
}
]
id: Must match the sample IDs from the MMAU test setmodel_prediction: Your model's predicted answerThe evaluation provides:
To deploy this Space:
app.pyrequirements.txtmmau-test.json (the ground truth file - keep this private!)The mmau-test.json file contains the ground truth answers. To keep it private:
Option 1: Private Space
Option 2: Use Hugging Face Secrets
app.py to load from the secretOption 3: Git LFS with .gitattributes
mmau-test.json to .gitignorefrom huggingface_hub import hf_hub_download
import os
# Load from private dataset
GROUND_TRUTH_PATH = hf_hub_download(
repo_id="your-username/mmau-ground-truth",
filename="mmau-test.json",
repo_type="dataset",
token=os.environ.get("HF_TOKEN")
)
Then add HF_TOKEN as a secret in your Space settings.
26 commits