Batchalign 2 - Unable to run Whisper Engine / Forced Alignment
Brian Macwhinney
macw at cmu.edu
Fri Sep 13 14:33:18 UTC 2024
Richard,
Please send this or any other Batchalign2 error issues as a bug report to the GitHub issues page at https://github.com/TalkBank/batchalign2/issues
Many thanks,
— Brian MacWhinney
Teresa Heinz Professor of Cognitive Psychology,
Language Technologies and Modern Languages, CMU
> On Sep 13, 2024, at 10:20 AM, 'Richard Ghiuzan' via chibolts <chibolts at googlegroups.com> wrote:
>
> Dear All,
> I have been using the library version of Batchalign 2 to produce transcripts, and while I've been able to do so, I've been getting a recurrent error whenever trying to run a forced alignment on an existing transcript using the following line of coding:
> chat = ba.CHATFile(path = "inputfile.cha")
> doc = chat.doc
> nlp = ba.BatchalignPipeline.new("fa", lang="eng", num_speakers=2)
> doc = nlp(chat)
> final = ba.CHATFile(doc=doc)
> final.write("final.cha")
>
> I get a very lengthy error output, which I can share if needed, but this seems to be the main error:
> RuntimeError Traceback (most recent call last) Cell In[38], line 4 2 chat = ba.CHATFile(path = "inputfile.cha") 3 doc = chat.doc ----> 4 nlp = ba.BatchalignPipeline.new("fa", lang="eng", num_speakers=2) 5 doc = nlp(chat) 6 final = ba.CHATFile(doc=doc)
>
> [...]
>
> 2572 raise ValueError( 2573 "You cannot cast a GPTQ model in a new `dtype`. Make sure to load the model using `from_pretrained` using the desired" 2574 " `dtype` by passing the correct `torch_dtype` argument."
>
> Would anyone have encountered a similar error and know how to solve it?
> Thank you in advance for the time and availability.
> Kind Regards,
> Richard
>
> --
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/d0c8ac03-c420-4cc1-a8e8-0d9ce66542ddn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/27D3D20F-AA7A-4B13-B4C6-991319C1CF74%40cmu.edu.
More information about the Chibolts
mailing list