Skip to content

Response generation extremely slow #11

@madiator

Description

@madiator

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions