• @MagicShel@programming.dev
    link
    fedilink
    English
    1326 days ago

    That’s the most straightforward fix. You can’t actually fix the output of an LLM, so you have to run something on the output. You can have it scanned by another AI but that costs money and is also fallible. Regex/delete is the most reliable way to censor.

    • @Soyweiser
      link
      English
      1126 days ago

      Yes, and then the problem is that this doesn’t really scale well. Esp as it is always hard to regexp all the variants correctly without false positives and negatives. Time to regexp html ;).

      • @OhNoMoreLemmy@lemmy.ml
        link
        fedilink
        English
        826 days ago

        Yeah, and you can really see this in image generation. There’s often blocks on using the names of celebrities in the prompts, but if you misspell the names enough it can bypass the censor, and the image generator still understands it.