Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a long time to execute #4

Open
cthed2 opened this issue Apr 5, 2024 · 3 comments
Open

a long time to execute #4

cthed2 opened this issue Apr 5, 2024 · 3 comments

Comments

@cthed2
Copy link

cthed2 commented Apr 5, 2024

I tried the code you propose, but it takes a long time to execute (after 20 minutes I canceled it). I don't know the reason, maybe I am using different versions of the libraries.

@zhwang4ai
Copy link
Member

Yes, due to the fact that RAT operates by causally retrieving and reasoning, it necessitates a longer runtime. This aspect is indeed a direction for future optimization on our part. Currently, the error primarily stems from webpage access timeouts. To address this, we've posted an updated demo version at https://huggingface.co/spaces/jeasinema/RAT, where we've integrated a run_with_timeout feature to ensure the process can continue in the event of such errors. We plan to update this location with the new version of the code moving forward.

@cthed2
Copy link
Author

cthed2 commented Apr 7, 2024

I understand. Can I use a text input query instead of web pages? Specifically, the transcription of a podcast.

Do you have any example to guide me?

The idea is to make it simple with an input text and maybe I can help you with timing optimizations or some suggestions in general.

Note: I use "whisper" for the transcription.

Greetings.

@cxb123d
Copy link

cxb123d commented Apr 30, 2024

Have you reproduced the entire code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants