To run Whisper on HPC, you need to load an environment into your HPC session and build a script to specify what you want the software to do. The HPC Team has built an interface in their portal to make this task clear and easy for you. For this reason, we will describe how to use the interface in this part of the guide. Should you want to modify the script and the instructions to Whisper beyond what the interface allows you to do, then you are, of course, free to write your own script or contact dcc@rug.nl with your question.
To access the interface, log into the HPC portal and scroll down until you see the Jobs Wizard button shown in the screenshot. Click it to open a new window.
In the new window, select the wizard for Whisper. Note: As of the writing of this guide, there were only two apps available on this part of the portal. You might see more than two if the HPC team has added new ones in the meantime.
The first part of the interface prompts you to specify where you want to save the generated script, what name you want to assign to the script, and what name to assign to the job when it runs. If you have followed this guide until this point, you can leave this part unchanged and move on to the next screenshot. If you have not followed the previous part of this guide, then the one requirement you need to fulfil for this part to work is that the location where you want to save the script exists. To ensure this, select Select Path, then follow the instructions until you find the folder you want to use. Finally, you can leave the script content hidden, as it is irrelevant if you use the interface.
The second part of the interface is where you will select the instructions you wish to pass on to Whisper. Here is the explanation of the entry fields as they are numbered in the screenshot below:
When you are done setting the instructions, press Submit to start the transcription job.
For those users who need the transcription to be done following a certain style, here is the option to add a prompt to the Whisper script. Please note that it might be necessary to try out a few prompts before the transcription works the way you want it to. We advise choosing a relatively short audio to experiment with before launching the main job.
Once you are done creating the script and you press Submit, your job will have been added to the HPC queue. What this means is that your job will start running as soon as the requested resources are available in the cluster. This can take some time to happen. We advise verifying that the script is in the queue by selecting History, as shown in the screenshot. This will direct you to a new window.
In this new window, you will see the details of your job, such as the JobID or the location of the script. What you care about at this stage is the status, as highlighted in the screenshot. There are three statuses you will most likely see:
Once your job shows the status COMPLETED, then you can go back to the main HPC page, select your scratch folder as you have done at the beginning of this guide, and download the files in the “output” folder. Please verify that the transcription looks acceptable at first glance before deleting your input data. Once this step is completed, please read the next part of this guide, as there are some data management requirements that you need to follow.