Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Latest commit

 

History

History

README.md

$${\color{red}This \space sample \space was \space archived \space by \space the \space owner \space on \space August \space 14th, \space 2025. \space It \space is \space now \space read-only.}$$

Chapterization

Demonstrates a pipeline which automatically chapterizes long text/content from a provided audio context. The primary components utilize OpenVINO™ in LangChain* for audio-speech-recognition, embeddings generation, K-means clustering, and LLM chapterization.

Installation

Get started by running the below command.

./install.sh

Note: if this script has already been performed and you'd like to re-install the sample project only then the below command can be used to skip the re-install of dependencies.

./install.sh --skip

Run Examples

Run the below command to start the demo with the following defaults:

LLM Model: llmware/llama-3.2-3b-instruct-ov
LLM batch-size: 2
ASR Model: distil-whisper/distil-small.en
ASR load in 8bit: True
ASR batch-size: 8
Inference Device: GPU
K-Means Clustering Enabled For Text : True

export LLM_MODEL=llmware/llama-3.2-3b-instruct-ov
export LLM_BATCH_SIZE=2
export ASR_MODEL=distil-whisper/distil-small.en
export ASR_LOAD_IN_8BIT=1
export ASR_BATCH_SIZE=8
export INF_DEVICE=GPU
export ENABLE_KMEANS=1
./run-demo.sh audio.mp3