Ejemplo n.º 1
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_racism_xenophobia_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.RACISM_XENOPHOBIA_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 2
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_sexual_abuse_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SEXUAL_ABUSE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 3
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_my_gender_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MY_GENDER_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 4
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_praise_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.PRAISE

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 5
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_verbal_offense_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.VERBAL_OFFENSE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 6
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_my_age_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MY_AGE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 7
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_helpful_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.HELPFUL_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 8
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_sports_and_playing_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SPORTS_AND_PLAYING_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 9
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_funny_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.FUNNY_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 10
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_greeting_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.GREETING_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 11
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_forbidden_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.FORBIDDEN_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 12
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_acknowledge_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.ACKNOWLEDGEMENT_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 13
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_goodbye_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.WHAT_AM_I_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 14
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_sorry_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SORRY_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 15
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_illegal_stuff_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.ILLEGAL_STUFF_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 16
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_who_am_i_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.WHO_AM_I_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 17
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_music_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.MUSIC_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 18
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_suicide_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.SUICIDE_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)
Ejemplo n.º 19
0
Archivo: gans.py Proyecto: pngnull/Luci
    def get_threat_response(**kwargs):
        model, idx_to_chars, chars_to_idx = IntentionResponseGAN.TRHEAT_GAN

        return sample(model, chars_to_idx, idx_to_chars, 1000)