| from huggingface_hub import snapshot_download | |
| # Download the model from HuggingFace | |
| model_dir = snapshot_download("jaesungbae/da-dsqa") | |
| # Load pipeline (defaults to proposed_L_coarse_tau100.0) | |
| from pipeline import PreTrainedPipeline | |
| pipe = PreTrainedPipeline(model_dir) | |
| # Run inference | |
| result = pipe("/projects/bedl/jbae4/workspace_2026/severity_level_classifier_release/sample_wavs/Naturalness/level_1/d1b9444a-2ed1-438e-fd68-08dcb5d1edd7_1071_8831.wav") | |
| print(result) | |