{{indexmenu_n>4}} ====== Analyse transcripts ====== 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 to find your way in a long recording, but it can not replace reading the transcript or analyzing it yourself. ===== Switch it on ===== 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 ^ |''%%What to produce%%'' |A summary, a list of topics, or a list of themes | |''%%LLM model%%'' |Which model writes it, and with it the GPU you wait for| |''%%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 keep in mind that it will take longer than doing the transcription alone. 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 |}} ===== What to produce ===== 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 ^ |''%%Summary%%''|An overview, the main points in the order they come up, and any conclusions |''%%.summary.txt%%''| |''%%Topics%%'' |A numbered list of the subjects discussed, in order, with a sentence on each |''%%.topics.txt%%'' | |''%%Themes%%'' |Ideas, concerns or attitudes that recur, each with a description and a quotation|''%%.themes.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 |}} 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 ===== 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 ^ |''%%Qwen3.5-4B%%'' |The shortest wait. Fine for a summary or topics; see the note on themes below | |''%%gemma-4-12B-it%%''|The default. Good on all three results | |''%%Qwen3.8-27B%%'' |The most detailed results. Check the names and titles it gives against the transcript | |''%%gemma-4-31B-it%%''|The shortest results and the fewest mistakes in our tests. It leaves out more detail than ''%%Qwen3.8-27B%%''| 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%%''. **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, but may result in longer waiting times. ===== Context ===== ''%%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: A focus group of nursing students about placement stress 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 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 ===== A language model writes fluent text whether or not it is correct or accurate. Before you use any result: - 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. - 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. 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. 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]]. [[dcc:itsol:whisper:results|← Previous: Find and review the results]] [[dcc:itsol:whisper:troubleshooting|Next: Troubleshooting and FAQs →]]