# Llama-2 find answer in a transcript

**URL:** <https://discuss.huggingface.co/t/llama-2-find-answer-in-a-transcript/105395>\
**Category:** 🤗Transformers\
**Created:** [September 5, 2024, 7:32am UTC](https://discuss.huggingface.co/t/llama-2-find-answer-in-a-transcript/105395 "2024-09-05T07:32:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksasp](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/aleksasp/32/31248_2.png) [@aleksasp](https://discuss.huggingface.co/u/aleksasp)\
**Post date:** [September 5, 2024, 7:32am UTC](https://discuss.huggingface.co/t/llama-2-find-answer-in-a-transcript/105395/1 "2024-09-05T07:32:22Z")

</div>

I have a video transcription with timestamps, and I want to ask llama2 questions and as an answer to get an index of transcription line or list of lines (prefereably subsequent) so that playback timestamp could be retrieved - the goal is to seek to a video timestamp based on questions.

I’ve managed to run **Llama-2-7b-instruct-hf** (half precision on RTX 4090) in chat mode and wonder if there is a way to pass transcript data in a way to reliable retrieve referenced transcript lines (or line indeces).

---

<div class="post-metadata">

**Author:** ![dksensei](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dksensei](https://discuss.huggingface.co/u/dksensei)\
**Post date:** [January 30, 2025, 5:48am UTC](https://discuss.huggingface.co/t/llama-2-find-answer-in-a-transcript/105395/2 "2025-01-30T05:48:59Z")

</div>

Did you find any solution to this?  
What method did you follow to generate transcription with timestamps?
