Skip to content

Slow when alias has large number of candidates #37

@8key

Description

@8key

Hello,

Thanks for open-sourcing this great proj!

I encounter that Chatette is very slow when alias has large number of candidates even when the training example needed is set to very small.
e.g.,
%intent_name
@[generic-name]

@[generic-name]
~[name] ~[name?] ~[family-name]

~[name]
<2000 names>

~[family-name]
<100 popular family names>

When i run chatette with the above, it takes ages even i only request 1 random example.
Looks like chatette generate all combination, which is (2000^2)*100/2, then random sample one example from it.

Do I understand it right? Could that be, in some way, configured as sampling dynamically. E.e., if I request 1 example, I only randomly generate 1 example?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions