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

Response generation extremely slow #11

Open
madiator opened this issue Dec 5, 2024 · 0 comments
Open

Response generation extremely slow #11

madiator opened this issue Dec 5, 2024 · 0 comments

Comments

@madiator
Copy link

madiator commented Dec 5, 2024

I see a for loop being used to generate the responses. This can be extremely slow.
For example, for the npc type, each response takes about 30 seconds with gpt-4o and so the whole thing on 200k personas can take about 69 days.
I have reimplemented an optimized version using bespokelabs-curator.
Please see here: https://github.com/bespokelabsai/curator/tree/dev/examples/persona-hub
If someone is on tier 5 with openai, the end result can be obtained in about 7 hours.
Happy to do a PR that uses this version.

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

1 participant