Differences

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

Link to this comparison view

Next revision
Previous revision
dcc:itsol:whisper:analyse [2026/11/24 08:01] – created camarocicodcc:itsol:whisper:analyse [2026/11/24 09:37] (current) – wording and meaning giulio
Line 1: Line 1:
 {{indexmenu_n>4}} {{indexmenu_n>4}}
  
-====== Analyse Transcripts ======+====== Analyse transcripts ======
  
-After transcription, the same job can hand each transcript to a large language model (LLM), which writes a summary, a list of topics, or a list of themes. The model runs on Hábrók, like Whisper itself, so neither your recordings nor your transcripts are sent anywhere else.+After the transcription is finished, you can set up the same job to pass each transcript to a large language model (LLM), which in turn writes a summary, a list of topics, or a list of themes for that transcript. The model runs on Hábrók locally, like Whisper itself, so neither your recordings nor your transcripts are sent anywhere else.
  
-This step is optional and switched off by default. The result is a draft written by a machine: it helps you find your way in a long recording, and it does not replace reading the transcript.+This step is optional and switched off by default. The result is a draft written by a machine: it helps you to find your way in a long recording, but it can not replace reading the transcript or analyzing it yourself.
  
-===== Switch It On =====+===== Switch it on =====
  
-On the Whisper form, below the diarization settings, select ''%%Run LLM%%'' under ''%%Analyse the transcript with a local LLM%%''. Three more fields appear:+On the Whisper form, below the diarization settings, select ''%%Run LLM%%'' under ''%%Analyse the transcript with a local LLM%%''. If you do, three more fields appear:
  
 ^Field                     ^What it sets                                           ^ ^Field                     ^What it sets                                           ^
Line 16: Line 16:
 |''%%Context (optional)%%''|A sentence that tells the model what the recording is  | |''%%Context (optional)%%''|A sentence that tells the model what the recording is  |
  
-Fill in the rest of the form as described in [[dcc:itsol:whisper:running|Run a Whisper Job]]. The job first transcribes every recording in the ''%%input%%'' directory and then analyses each transcript in turn, so it takes some minutes longer than transcription alone.+Fill in the rest of the form as described in [[dcc:itsol:whisper:running|Run a Whisper job]]. The job first transcribes every recording in the ''%%input%%'' directory and then analyses each transcript in turn, so keep in mind that it will take longer than doing the transcription alone.
  
-When more than one person speaks, also select ''%%Run speaker diarization%%''. The transcript then marks who says what, and the model can tell the speakers apart; without the labels, it cannot say who said what.+If you know that the recording has multiple speakers, also select ''%%Run speaker diarization%%''. Labelling the speakers is necessary for the LLM model doing the summary to be able to separate them.
  
 {{ :dcc:itsol:whisper:analyse_form.webm?800x450 |}} {{ :dcc:itsol:whisper:analyse_form.webm?800x450 |}}
  
-===== What to Produce =====+===== What to produce =====
  
-Choose one of three results. A job produces one of them; to get another for the same recordings, submit the job again with a different choice.+You can only choose one of three options for a single job. If you need more than one or all three outputs, you need to submit the job again with a different choice.
  
 ^Choice         ^What you get                                                                    ^File                      ^ ^Choice         ^What you get                                                                    ^File                      ^
Line 31: Line 31:
 |''%%Themes%%'' |Ideas, concerns or attitudes that recur, each with a description and a quotation|''%%<name>.themes.txt%%'' | |''%%Themes%%'' |Ideas, concerns or attitudes that recur, each with a description and a quotation|''%%<name>.themes.txt%%'' |
  
-The file is written to the ''%%output%%'' directory, beside the transcript it was made from. A recording named ''%%interview.mp3%%'' with ''%%Summary%%'' selected therefore gives ''%%interview.summary.txt%%'' next to ''%%interview.txt%%''.+The result is written to the ''%%output%%'' directory, beside the transcript it was made from. A recording named ''%%interview.mp3%%'' with ''%%Summary%%'' selected therefore gives ''%%interview.summary.txt%%'' next to ''%%interview.txt%%''.
  
 {{ :dcc:itsol:whisper:analyse_results.webm?800x450 |}} {{ :dcc:itsol:whisper:analyse_results.webm?800x450 |}}
  
-Topics and themes are not the same thing. Topics follow the recording from start to finish, like a table of contents. Themes cut across it: a concern that three participants raise at different moments is one theme.+Topics and themes are not the same thing. Topics follow the recording from start to finish, like a table of contents. Themes cut across it: a concern that three participants raise at different moments is recorded as one theme.
  
-===== LLM Model =====+===== LLM model =====
  
-The form offers four models, from small to large. Each model runs on a particular type of GPU, and a larger model needs a larger one. The larger GPUs are used for many other kinds of work, so a job that asks for one may wait longer in the queue before it starts.+The form offers four models, from small to large. Each model runs on a particular type of GPU, and a larger model needs a more costly resource. The larger GPUs are used for many other kinds of work, so a job that asks for one may wait longer in the queue before it starts.
  
 ^Model                 ^When to choose it                                                                                            ^ ^Model                 ^When to choose it                                                                                            ^
Line 47: Line 47:
 |''%%gemma-4-31B-it%%''|The shortest results and the fewest mistakes in our tests. It leaves out more detail than ''%%Qwen3.8-27B%%''| |''%%gemma-4-31B-it%%''|The shortest results and the fewest mistakes in our tests. It leaves out more detail than ''%%Qwen3.8-27B%%''|
  
-Leave the default unless you have a reason to change it. If the default has left out something you needed, try ''%%Qwen3.8-27B%%''; if you would rather have less text and fewer mistakes, try ''%%gemma-4-31B-it%%''.+We advise you to keep the default settings, unless you have a reason to change them. If the default has left out something you needed, try ''%%Qwen3.8-27B%%''; if you would rather have less text and fewer mistakes, try ''%%gemma-4-31B-it%%''.
  
-On recordings longer than about half an hour, the themes of ''%%Qwen3.5-4B%%'' are unreliable: check that each quotation is in the transcript, or choose another model.+**Attention**: On recordings longer than about half an hour, the themes of ''%%Qwen3.5-4B%%'' are unreliable: check that each quotation is in the transcript, or choose another model.
  
-Whisper runs on the same GPU as the model you choose here. This does not change the transcript.+Whisper runs on the same GPU as the model you choose here. This does not change the transcript, but may result in longer waiting times.
  
 ===== Context ===== ===== Context =====
  
-''%%Context (optional)%%'' is a short description of the recording, which the model reads before the transcript. A transcript does not say what kind of conversation it is, and a sentence that does improves the result, for example:+''%%Context (optional)%%'' is a short description of the recording, which the model reads before the transcript. Adding the context might help the model improve its results, but it is not strictly necessary. You could add, for example:
  
 <code> <code>
Line 61: Line 61:
 </code> </code>
  
-Write it in the language of the transcript, so in English when the task is ''%%Translate%%''; that is how it was tested. Say what the recording is and who takes part; do not ask a question or give instructions. The field accepts at most 500 characters, and the form refuses double quotes, backticks, dollar signs and backslashes.+The context needs to be written in the language of the transcript output. If you asked Whisper to transcribe, you need to use the language of the recording. If instead you asked Whisper to translate the recording, you need to use English. The context should only state what the recording is and who takes part. This field is different from the ''prompt'' field, so do not ask a question or give instructions, but just describe the context of the recording. The field accepts at most 500 characters, and the form refuses double quotes, backticks, dollar signs, and backslashes.
  
-===== The Language of the Result =====+===== The language of the result =====
  
-The result is written in the language of the transcript: the ''%%Language%%'' you selected, or English when the task is ''%%Translate%%''. If you left ''%%Language%%'' empty, the model is asked to reply in the language it finds in the transcript. Selecting the language is the more predictable of the two, here as for the transcription.+The result is written in the language of the transcript: the ''%%Language%%'' you selected, or English when the task is ''%%Translate%%''. If you left ''%%Language%%'' empty, the model is asked to reply in the language it finds in the transcript. Selecting the language is the more predictable of the two, so please make sure to leave the field empty both here and in the transcription job.
  
-===== Check the Result =====+===== Check the result =====
  
-A language model writes fluent text whether or not it is right. Before you use a result:+A language model writes fluent text whether or not it is correct or accurate. Before you use any result:
  
-  - Check every name, title, date and number against the transcript. Models can attach a statement to the wrong person, or give someone a title the recording never mentions.+  - Large Language Models hallucinate, which means they can invent content that was never spoken. Always check the output against both transcript and recording. 
 +  - Check every name, title, date, and number against the transcript. Models can attach a statement to the wrong person, or give someone a title the recording never mentions.
   - Check every quotation against the transcript. A quotation can be shortened or slightly rearranged.   - Check every quotation against the transcript. A quotation can be shortened or slightly rearranged.
   - Do not assume the result is complete. A short discussion in the middle of a long recording can be left out.   - Do not assume the result is complete. A short discussion in the middle of a long recording can be left out.
   - Remember that the model reads the transcript, not the recording. A word Whisper misheard, or a speaker label that diarization got wrong, is carried over into the result as if it were correct.   - Remember that the model reads the transcript, not the recording. A word Whisper misheard, or a speaker label that diarization got wrong, is carried over into the result as if it were correct.
  
-The reverse also happens, without notice. In the recording shown above, Whisper wrote the host's name as "Koui" and the speaker's university as the "Technical University of Denver". The summary has "Koohy", the spelling given in the context, and "Denmark", which the model took from later in the conversation. Both corrections are right, but nothing marks them as corrections, and a wrong context or a wrong inference would read just as smoothly.+The LLM can also correct mistakes that Whisper made, but without it notifying you. In the recording shown above, Whisper wrote the host's name as "Koui" and the speaker's university as the "Technical University of Denver". The summary the LLm produced has "Koohy", by taking the spelling given in the context, and "Denmark" instead of "Denver", which the LLM took from later in the conversation. Both corrections are right, in this case, but nothing marks them as corrections. You should always check the output, as a wrong context or a wrong inference could read just as smoothly.
  
-If a result is to be quoted, shared or acted on, the transcript and the recording remain the source.+If a result is to be quoted, shared or acted on, the transcript and the recording remain the source. Please use the summary, topics, or theme output just for your own consumption.
  
 The result files contain the content of your recordings, as the transcripts do. Download and remove them in the same way, as described in [[dcc:itsol:whisper:datamanage|Data management safety measures]]. The result files contain the content of your recordings, as the transcripts do. Download and remove them in the same way, as described in [[dcc:itsol:whisper:datamanage|Data management safety measures]].
  
-<WRAP half column>[[dcc:itsol:whisper:results|← Previous: Find and Review the Results]]</WRAP>+<WRAP half column>[[dcc:itsol:whisper:results|← Previous: Find and review the results]]</WRAP>
 <WRAP half column rightalign>[[dcc:itsol:whisper:troubleshooting|Next: Troubleshooting and FAQs →]]</WRAP> <WRAP half column rightalign>[[dcc:itsol:whisper:troubleshooting|Next: Troubleshooting and FAQs →]]</WRAP>
 <WRAP clear></WRAP> <WRAP clear></WRAP>