Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dcc:itsol:whisper:running [2026/11/24 08:45] – fixed capitalization giuliodcc:itsol:whisper:running [2026/11/27 08:42] (current) – camarocico
Line 31: Line 31:
 |''%%Show advanced options%%''                 |Not selected                          | |''%%Show advanced options%%''                 |Not selected                          |
  
-They are recommended because naming the language avoids detection mistakes, alignment costs little and gives better timings, and diarization is slower and only worth running when you need speaker labels. A 4-hour limit covers a single recording of ordinary length while keeping the wait in the queue short.+The settings above are recommended because naming the language avoids detection mistakes, alignment costs little and gives better timings, and diarization is slower and only worth running when you need speaker labels. A 4-hour limit covers a single recording of ordinary length while keeping the wait in the queue short.
  
 These are starting values rather than guarantees. Long recordings, multiple files, or busy queue conditions may require more time. These are starting values rather than guarantees. Long recordings, multiple files, or busy queue conditions may require more time.
Line 43: Line 43:
 The first four fields describe the job itself rather than the transcription. The first four fields describe the job itself rather than the transcription.
  
-  * ''%%Script Location%%'' is where the portal writes the job script. The default is a ''%%whisper/%%'' directory in your scratch space. If you followed this guide, leave it as it is; otherwise use ''%%Select Path%%'' to choose another directory, but never the ''%%input%%'' directory.+  * ''%%Script Location%%'' is where the portal writes the job script. The default is a ''%%whisper/%%'' directory in your scratch space. If you followed this guide, leave it as it is; otherwise, use ''%%Select Path%%'' to choose another directory, but never the ''%%input%%'' directory.
   * ''%%Script Name%%'' is the file name of that script. The default ''%%jobscript.sh%%'' is fine.   * ''%%Script Name%%'' is the file name of that script. The default ''%%jobscript.sh%%'' is fine.
   * ''%%Job Name%%'' is the name you will see in the portal's job history. The default is ''%%Whisper%%''. A name that identifies the recording makes several jobs easier to tell apart.   * ''%%Job Name%%'' is the name you will see in the portal's job history. The default is ''%%Whisper%%''. A name that identifies the recording makes several jobs easier to tell apart.
Line 63: Line 63:
 Choose the language that is spoken in the recording. This usually gives more predictable results than automatic detection. Choose the language that is spoken in the recording. This usually gives more predictable results than automatic detection.
  
-The field is marked as required, but the list starts with an empty entry and that entry is accepted. Leave the language empty only when you do not know it. Automatic detection can make mistakes, especially for short recordings, background speech, closely related languages, or a strong and uncommon accent: a strongly accented English speaker has been detected as Welsh.+The field is marked as required, but the list starts with an empty entry, and that entry is accepted. Leave the language empty only when you do not know it. Automatic detection can make mistakes, especially for short recordings, background speech, closely related languages, or a strong and uncommon accent: a strongly accented English speaker could be detected as Welsh, for example.
  
 For recordings containing several languages, results may vary. If possible, split the recording into language-specific parts and process each part with the matching language selected. For recordings containing several languages, results may vary. If possible, split the recording into language-specific parts and process each part with the matching language selected.
Line 93: Line 93:
 ===== Analyse the transcript with a local LLM ===== ===== Analyse the transcript with a local LLM =====
  
-Leave ''%%Run LLM%%'' cleared if you only need the transcript. Selected, it adds a step to the job: after transcription, a language model running on Hábrók writes a summary, a list of topics, or a list of themes for each transcript. It reveals three more fields, ''%%What to produce%%'', ''%%LLM model%%'' and ''%%Context (optional)%%''.+Leave ''%%Run LLM%%'' cleared if you only need the transcript. Selecting this option adds a step to the job: after the transcription is finished, a language model will be run on Hábrók to write a summary, a list of topics, or a list of themes for each transcript. Selecting this option reveals three more fields in the script form, ''%%What to produce%%'', ''%%LLM model%%'' and ''%%Context (optional)%%''.
  
-This step has a page of its own, [[dcc:itsol:whisper:analyse|Analyse Transcripts]], which explains the three fields and how to check the result.+For details on running a local LLM to summarize your transcript, please refer to this page: [[dcc:itsol:whisper:analyse|Analyse transcripts]].
  
 ===== Input and output directories ===== ===== Input and output directories =====
Line 115: Line 115:
   * ''%%Initial prompt to Whisper%%'' can provide spelling or context hints, such as names or specialist terminology. Write it as a sentence in the language of the recording, for example ''%%Interview about the Hábrók cluster with Castor and Pollux, mentioning Slurm, WhisperX and scratch storage.%%'' An initial prompt is guidance, not a guaranteed vocabulary list. Keep it short and check whether it improves the result on a sample recording.   * ''%%Initial prompt to Whisper%%'' can provide spelling or context hints, such as names or specialist terminology. Write it as a sentence in the language of the recording, for example ''%%Interview about the Hábrók cluster with Castor and Pollux, mentioning Slurm, WhisperX and scratch storage.%%'' An initial prompt is guidance, not a guaranteed vocabulary list. Keep it short and check whether it improves the result on a sample recording.
   * ''%%Whisper model%%'' shows the model the selected task will use. The field accepts typing but reverts immediately; the model is set by the task and cannot be changed.   * ''%%Whisper model%%'' shows the model the selected task will use. The field accepts typing but reverts immediately; the model is set by the task and cannot be changed.
-  * ''%%Alignment model%%'' appears only when the language you selected has a language-specific alignment model, and it is filled in for you. For every other language the field stays hidden and the default alignment model is used.+  * ''%%Alignment model%%'' appears only when the language you selected has a language-specific alignment model, and it is filled in for you. For every other language, the field stays hidden, and the default alignment model is used.
  
 ===== Submit and monitor the job ===== ===== Submit and monitor the job =====
Line 121: Line 121:
 Click ''%%Submit%%'' at the bottom of the form. If you want to read or change the job script first, clear ''%%Hide script content%%'' in the job header. Click ''%%Submit%%'' at the bottom of the form. If you want to read or change the job script first, clear ''%%Hide script content%%'' in the job header.
  
-Submitting does not take you anywhere: the form stays open, and a message at the top of the page confirms that the job has been submitted and offers a ''%%History page%%'' link. Follow it, or open ''%%History%%'' from the portal's menu. Either way you reach the same list, with one row per job you have submitted:+Submitting does not take you anywhere: the form stays open, and a message at the top of the page confirms that the job has been submitted and offers a ''%%History page%%'' link. Follow it, or open ''%%History%%'' from the portal's menu. Either way, you reach the same list, with one row per job you have submitted:
  
 ^Column                 ^What it shows                                         ^ ^Column                 ^What it shows                                         ^
Line 146: Line 146:
 The small icon beside the script location opens a command-line session in that directory. You do not need it for anything in this guide. The small icon beside the script location opens a command-line session in that directory. You do not need it for anything in this guide.
  
-A queued job is not necessarily stuck. It may be waiting for the GPU it needs; the ''%%Reason%%'' field in the ''%%Job Details%%'' window says what it is waiting for. Do not submit the same job a second time: the duplicate occupies a second GPU and writes the same output files, so the two jobs overwrite each other's results.+A queued job is not necessarily stuck. It may be waiting for the required GPU resources; the ''%%Reason%%'' field in the ''%%Job Details%%'' window says what it is waiting for. Do not submit the same job a second time: the duplicate occupies a second GPU and writes the same output files, so the two jobs overwrite each other's results.
  
 ''%%Completed%%'' means that the batch job ended without a scheduler failure. It does not mean the transcript is accurate. Check both the output files and the job log. ''%%Completed%%'' means that the batch job ended without a scheduler failure. It does not mean the transcript is accurate. Check both the output files and the job log.
Line 152: Line 152:
 {{ :dcc:itsol:whisper:submit.webm?800x450 |}} {{ :dcc:itsol:whisper:submit.webm?800x450 |}}
  
-<WRAP half column>[[dcc:itsol:whisper:setup|← Previous: Before You Start]]</WRAP> +<WRAP half column>[[dcc:itsol:whisper:setup|← Previous: Before you start]]</WRAP> 
-<WRAP half column rightalign>[[dcc:itsol:whisper:results|Next: Find and Review the Results →]]</WRAP>+<WRAP half column rightalign>[[dcc:itsol:whisper:results|Next: Find and review the results →]]</WRAP>
 <WRAP clear></WRAP> <WRAP clear></WRAP>