Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.24 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "asklemmy@lemmy.world"
    +title: "asklemmy"
    +description: """
      A Fediverse community for open-ended, thought provoking questions\n
      -----------------------------------------------------------------\n
      \n
      ---\n
      \n
      **Rules: (interactive)**\n
      ------------------------\n
      \n
      ---\n
      \n
      1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
      \n
      ---\n
      \n
      2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
      \n
      ---\n
      \n
      3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
      \n
      ---\n
      \n
      4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
      \n
      ---\n
      \n
      5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
      \n
      ---\n
      \n
      Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
      \n
      Partnered Communities:\n
      ----------------------\n
      \n
      [Tech Support](/c/techsupport@lemmy.world)\n
      \n
      [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
      \n
      [You Should Know](/c/youshouldknow@lemmy.world)\n
      \n
      [Reddit](/c/reddit@lemmy.world)\n
      \n
      [Jokes](/c/jokes@lemmy.world)\n
      \n
      [Ask Ouija](/c/askouija@lemmy.world)\n
      \n
      ---\n
      \n
      Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
      \n
      ---\n
      \n
      ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1179
    +entryCommentCount: 42676
    +postCount: 3
    +postCommentCount: 67
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583245 {#276
      date: 2024-10-22 09:47:25.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 49
    +apId: "asklemmy@lemmy.world"
    +apProfileId: "https://lemmy.world/c/asklemmy"
    +apPublicUrl: "https://lemmy.world/c/asklemmy"
    +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "asklemmy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583301 {#270
      date: 2024-10-22 09:48:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697177027 {#272
      date: 2023-10-13 08:03:47.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
  +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
  +url: null
  +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 1
  +favouriteCount: 0
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1695676118 {#2410
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +children: []
  -id: 7006
  -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
  -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1695660424
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/2511178"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695653924 {#1850
    date: 2023-09-25 16:58:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "asklemmy@lemmy.world"
    +title: "asklemmy"
    +description: """
      A Fediverse community for open-ended, thought provoking questions\n
      -----------------------------------------------------------------\n
      \n
      ---\n
      \n
      **Rules: (interactive)**\n
      ------------------------\n
      \n
      ---\n
      \n
      1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
      \n
      ---\n
      \n
      2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
      \n
      ---\n
      \n
      3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
      \n
      ---\n
      \n
      4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
      \n
      ---\n
      \n
      5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
      \n
      ---\n
      \n
      Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
      \n
      Partnered Communities:\n
      ----------------------\n
      \n
      [Tech Support](/c/techsupport@lemmy.world)\n
      \n
      [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
      \n
      [You Should Know](/c/youshouldknow@lemmy.world)\n
      \n
      [Reddit](/c/reddit@lemmy.world)\n
      \n
      [Jokes](/c/jokes@lemmy.world)\n
      \n
      [Ask Ouija](/c/askouija@lemmy.world)\n
      \n
      ---\n
      \n
      Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
      \n
      ---\n
      \n
      ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1179
    +entryCommentCount: 42676
    +postCount: 3
    +postCommentCount: 67
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583245 {#276
      date: 2024-10-22 09:47:25.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 49
    +apId: "asklemmy@lemmy.world"
    +apProfileId: "https://lemmy.world/c/asklemmy"
    +apPublicUrl: "https://lemmy.world/c/asklemmy"
    +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "asklemmy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583301 {#270
      date: 2024-10-22 09:48:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697177027 {#272
      date: 2023-10-13 08:03:47.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
  +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
  +url: null
  +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 1
  +favouriteCount: 0
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1695676118 {#2410
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +children: []
  -id: 7006
  -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
  -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1695660424
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/2511178"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695653924 {#1850
    date: 2023-09-25 16:58:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "asklemmy@lemmy.world"
    +title: "asklemmy"
    +description: """
      A Fediverse community for open-ended, thought provoking questions\n
      -----------------------------------------------------------------\n
      \n
      ---\n
      \n
      **Rules: (interactive)**\n
      ------------------------\n
      \n
      ---\n
      \n
      1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
      \n
      ---\n
      \n
      2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
      \n
      ---\n
      \n
      3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
      \n
      ---\n
      \n
      4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
      \n
      ---\n
      \n
      5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
      \n
      ---\n
      \n
      Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
      \n
      Partnered Communities:\n
      ----------------------\n
      \n
      [Tech Support](/c/techsupport@lemmy.world)\n
      \n
      [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
      \n
      [You Should Know](/c/youshouldknow@lemmy.world)\n
      \n
      [Reddit](/c/reddit@lemmy.world)\n
      \n
      [Jokes](/c/jokes@lemmy.world)\n
      \n
      [Ask Ouija](/c/askouija@lemmy.world)\n
      \n
      ---\n
      \n
      Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
      \n
      ---\n
      \n
      ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1179
    +entryCommentCount: 42676
    +postCount: 3
    +postCommentCount: 67
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583245 {#276
      date: 2024-10-22 09:47:25.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 49
    +apId: "asklemmy@lemmy.world"
    +apProfileId: "https://lemmy.world/c/asklemmy"
    +apPublicUrl: "https://lemmy.world/c/asklemmy"
    +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "asklemmy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583301 {#270
      date: 2024-10-22 09:48:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697177027 {#272
      date: 2023-10-13 08:03:47.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
  +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
  +url: null
  +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 1
  +favouriteCount: 0
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1695676118 {#2410
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +children: []
  -id: 7006
  -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
  -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1695660424
  +visibility: "visible             "
  +apId: "https://slrpnk.net/post/2511178"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695653924 {#1850
    date: 2023-09-25 16:58:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4017
  +user: App\Entity\User {#3965 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "asklemmy@lemmy.world"
      +title: "asklemmy"
      +description: """
        A Fediverse community for open-ended, thought provoking questions\n
        -----------------------------------------------------------------\n
        \n
        ---\n
        \n
        **Rules: (interactive)**\n
        ------------------------\n
        \n
        ---\n
        \n
        1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
        \n
        ---\n
        \n
        2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
        \n
        ---\n
        \n
        3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
        \n
        ---\n
        \n
        4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
        \n
        ---\n
        \n
        5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
        \n
        ---\n
        \n
        Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
        \n
        Partnered Communities:\n
        ----------------------\n
        \n
        [Tech Support](/c/techsupport@lemmy.world)\n
        \n
        [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
        \n
        [You Should Know](/c/youshouldknow@lemmy.world)\n
        \n
        [Reddit](/c/reddit@lemmy.world)\n
        \n
        [Jokes](/c/jokes@lemmy.world)\n
        \n
        [Ask Ouija](/c/askouija@lemmy.world)\n
        \n
        ---\n
        \n
        Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
        \n
        ---\n
        \n
        ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1179
      +entryCommentCount: 42676
      +postCount: 3
      +postCommentCount: 67
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583245 {#276
        date: 2024-10-22 09:47:25.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 49
      +apId: "asklemmy@lemmy.world"
      +apProfileId: "https://lemmy.world/c/asklemmy"
      +apPublicUrl: "https://lemmy.world/c/asklemmy"
      +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "asklemmy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583301 {#270
        date: 2024-10-22 09:48:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697177027 {#272
        date: 2023-10-13 08:03:47.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
    +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
    +url: null
    +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 0
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1695676118 {#2410
      date: 2023-09-25 23:08:38.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 7006
    -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
    -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1695660424
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/2511178"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695653924 {#1850
      date: 2023-09-25 16:58:44.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    As others have mentioned, it’s not quite that simple.\n
    \n
    For starters, you can absolutely remove the word “fuck” from all the training data. Now it’s literally impossible for the AI to “know” the word. But what do you do with the training data? Do you *replace* “fuck” with a different token? “****” perhaps? Or do you just drop the data entirely?\n
    \n
    Giving “offense” is much more complex than just a single word. See, if we just replace the token, the AI may still decide that “Go **** yourself” is a perfectly valid response to a query. On the other hand, if you drop all instances of "fuck"from the data, your AI will just learn offensive euphemisms instead: “You can shove your request where the sun don’t shine”\n
    \n
    Worse, there are plenty of sexual / offensive phrases that are built up from perfectly innocuous tokens. “Prone bone”, for instance.\n
    \n
    The goal with these (and really almost all) AI models is for them to be “helpful, honest, and harmless”. Simply alerting or replacing a single token (or even combination of tokens) doesn’t really help, because the AI is modeling *concepts*, not just individual words.\n
    \n
    All of this to say that the problem being solved is not to stop an AI from *saying* “fuck” - it’s to build an AI that doesn’t *want* to.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695676118 {#4026
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@FinallyDebunked@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4015 …}
  +nested: Doctrine\ORM\PersistentCollection {#4013 …}
  +votes: Doctrine\ORM\PersistentCollection {#4011 …}
  +reports: Doctrine\ORM\PersistentCollection {#4009 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
  -id: 64643
  -bodyTs: "'absolut':15 'ai':32,82,112,158,187,210,219 'alert':170 'almost':156 'bone':147 'build':217 'built':140 'combin':178 'complex':68 'concept':190 'data':24,45,61,110 'decid':85 'differ':52 'doesn':181,221 'drop':59,103 'entir':62 'euphem':117 'even':177 'fuck':19,49,107,213 'give':63 'go':87 'goal':151 'hand':100 'harmless':168 'help':165,184 'honest':166 'imposs':29 'individu':193 'innocu':144 'instanc':105,149 'instead':118 'know':34 'learn':115 'liter':28 'may':83 'mention':4 'model':159,189 'much':66 'offens':64,116,136 'other':2 'perfect':91,143 'perhap':54 'phrase':137 'plenti':133 'problem':202 'prone':146 'queri':96 'quit':8 'realli':155,183 'remov':16 'replac':48,78,172 'request':123 'respons':93 'say':199,212 'see':74 'sexual':135 'shine':129 'shove':121 'simpl':10 'simpli':169 'singl':72,174 'solv':204 'starter':12 'still':84 'stop':208 'sun':126 'token':53,80,145,175,180 'train':23,44 'valid':92 'want':223 'word':18,36,73,194 'wors':130"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/3202915"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695676118 {#3962
    date: 2023-09-25 23:08:38.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4017
  +user: App\Entity\User {#3965 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "asklemmy@lemmy.world"
      +title: "asklemmy"
      +description: """
        A Fediverse community for open-ended, thought provoking questions\n
        -----------------------------------------------------------------\n
        \n
        ---\n
        \n
        **Rules: (interactive)**\n
        ------------------------\n
        \n
        ---\n
        \n
        1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
        \n
        ---\n
        \n
        2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
        \n
        ---\n
        \n
        3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
        \n
        ---\n
        \n
        4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
        \n
        ---\n
        \n
        5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
        \n
        ---\n
        \n
        Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
        \n
        Partnered Communities:\n
        ----------------------\n
        \n
        [Tech Support](/c/techsupport@lemmy.world)\n
        \n
        [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
        \n
        [You Should Know](/c/youshouldknow@lemmy.world)\n
        \n
        [Reddit](/c/reddit@lemmy.world)\n
        \n
        [Jokes](/c/jokes@lemmy.world)\n
        \n
        [Ask Ouija](/c/askouija@lemmy.world)\n
        \n
        ---\n
        \n
        Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
        \n
        ---\n
        \n
        ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1179
      +entryCommentCount: 42676
      +postCount: 3
      +postCommentCount: 67
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583245 {#276
        date: 2024-10-22 09:47:25.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 49
      +apId: "asklemmy@lemmy.world"
      +apProfileId: "https://lemmy.world/c/asklemmy"
      +apPublicUrl: "https://lemmy.world/c/asklemmy"
      +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "asklemmy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583301 {#270
        date: 2024-10-22 09:48:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697177027 {#272
        date: 2023-10-13 08:03:47.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
    +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
    +url: null
    +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 0
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1695676118 {#2410
      date: 2023-09-25 23:08:38.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 7006
    -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
    -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1695660424
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/2511178"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695653924 {#1850
      date: 2023-09-25 16:58:44.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    As others have mentioned, it’s not quite that simple.\n
    \n
    For starters, you can absolutely remove the word “fuck” from all the training data. Now it’s literally impossible for the AI to “know” the word. But what do you do with the training data? Do you *replace* “fuck” with a different token? “****” perhaps? Or do you just drop the data entirely?\n
    \n
    Giving “offense” is much more complex than just a single word. See, if we just replace the token, the AI may still decide that “Go **** yourself” is a perfectly valid response to a query. On the other hand, if you drop all instances of "fuck"from the data, your AI will just learn offensive euphemisms instead: “You can shove your request where the sun don’t shine”\n
    \n
    Worse, there are plenty of sexual / offensive phrases that are built up from perfectly innocuous tokens. “Prone bone”, for instance.\n
    \n
    The goal with these (and really almost all) AI models is for them to be “helpful, honest, and harmless”. Simply alerting or replacing a single token (or even combination of tokens) doesn’t really help, because the AI is modeling *concepts*, not just individual words.\n
    \n
    All of this to say that the problem being solved is not to stop an AI from *saying* “fuck” - it’s to build an AI that doesn’t *want* to.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695676118 {#4026
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@FinallyDebunked@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4015 …}
  +nested: Doctrine\ORM\PersistentCollection {#4013 …}
  +votes: Doctrine\ORM\PersistentCollection {#4011 …}
  +reports: Doctrine\ORM\PersistentCollection {#4009 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
  -id: 64643
  -bodyTs: "'absolut':15 'ai':32,82,112,158,187,210,219 'alert':170 'almost':156 'bone':147 'build':217 'built':140 'combin':178 'complex':68 'concept':190 'data':24,45,61,110 'decid':85 'differ':52 'doesn':181,221 'drop':59,103 'entir':62 'euphem':117 'even':177 'fuck':19,49,107,213 'give':63 'go':87 'goal':151 'hand':100 'harmless':168 'help':165,184 'honest':166 'imposs':29 'individu':193 'innocu':144 'instanc':105,149 'instead':118 'know':34 'learn':115 'liter':28 'may':83 'mention':4 'model':159,189 'much':66 'offens':64,116,136 'other':2 'perfect':91,143 'perhap':54 'phrase':137 'plenti':133 'problem':202 'prone':146 'queri':96 'quit':8 'realli':155,183 'remov':16 'replac':48,78,172 'request':123 'respons':93 'say':199,212 'see':74 'sexual':135 'shine':129 'shove':121 'simpl':10 'simpli':169 'singl':72,174 'solv':204 'starter':12 'still':84 'stop':208 'sun':126 'token':53,80,145,175,180 'train':23,44 'valid':92 'want':223 'word':18,36,73,194 'wors':130"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/3202915"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695676118 {#3962
    date: 2023-09-25 23:08:38.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4017
  +user: App\Entity\User {#3965 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "asklemmy@lemmy.world"
      +title: "asklemmy"
      +description: """
        A Fediverse community for open-ended, thought provoking questions\n
        -----------------------------------------------------------------\n
        \n
        ---\n
        \n
        **Rules: (interactive)**\n
        ------------------------\n
        \n
        ---\n
        \n
        1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
        \n
        ---\n
        \n
        2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
        \n
        ---\n
        \n
        3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
        \n
        ---\n
        \n
        4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
        \n
        ---\n
        \n
        5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
        \n
        ---\n
        \n
        Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
        \n
        Partnered Communities:\n
        ----------------------\n
        \n
        [Tech Support](/c/techsupport@lemmy.world)\n
        \n
        [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
        \n
        [You Should Know](/c/youshouldknow@lemmy.world)\n
        \n
        [Reddit](/c/reddit@lemmy.world)\n
        \n
        [Jokes](/c/jokes@lemmy.world)\n
        \n
        [Ask Ouija](/c/askouija@lemmy.world)\n
        \n
        ---\n
        \n
        Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
        \n
        ---\n
        \n
        ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1179
      +entryCommentCount: 42676
      +postCount: 3
      +postCommentCount: 67
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583245 {#276
        date: 2024-10-22 09:47:25.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 49
      +apId: "asklemmy@lemmy.world"
      +apProfileId: "https://lemmy.world/c/asklemmy"
      +apPublicUrl: "https://lemmy.world/c/asklemmy"
      +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "asklemmy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583301 {#270
        date: 2024-10-22 09:48:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697177027 {#272
        date: 2023-10-13 08:03:47.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "for-ML-engineers-why-can-t-you-simply-exclude-the-word"
    +title: "for ML engineers: why can't you simply exclude the word "fuck"?"
    +url: null
    +body: "So, I’ve heard that ML manipulates tokens and specifically for the English corpora they take place of words. If we want model to be polite and not to speak uncomfortable language we can remove certain words from the internal array where all tokens and their associative data are stored, for example “fuck”."
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 1
    +favouriteCount: 0
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1695676118 {#2410
      date: 2023-09-25 23:08:38.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +children: []
    -id: 7006
    -titleTs: "'engin':3 'exclud':9 'fuck':12 'ml':2 'simpli':8 'word':11"
    -bodyTs: "'array':41 'associ':47 'certain':36 'corpora':14 'data':48 'english':13 'exampl':52 'fuck':53 'heard':4 'intern':40 'languag':32 'manipul':7 'ml':6 'model':23 'place':17 'polit':26 'remov':35 'speak':30 'specif':10 'store':50 'take':16 'token':8,44 'uncomfort':31 've':3 'want':22 'word':19,37"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1695660424
    +visibility: "visible             "
    +apId: "https://slrpnk.net/post/2511178"
    +editedAt: null
    +createdAt: DateTimeImmutable @1695653924 {#1850
      date: 2023-09-25 16:58:44.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    As others have mentioned, it’s not quite that simple.\n
    \n
    For starters, you can absolutely remove the word “fuck” from all the training data. Now it’s literally impossible for the AI to “know” the word. But what do you do with the training data? Do you *replace* “fuck” with a different token? “****” perhaps? Or do you just drop the data entirely?\n
    \n
    Giving “offense” is much more complex than just a single word. See, if we just replace the token, the AI may still decide that “Go **** yourself” is a perfectly valid response to a query. On the other hand, if you drop all instances of "fuck"from the data, your AI will just learn offensive euphemisms instead: “You can shove your request where the sun don’t shine”\n
    \n
    Worse, there are plenty of sexual / offensive phrases that are built up from perfectly innocuous tokens. “Prone bone”, for instance.\n
    \n
    The goal with these (and really almost all) AI models is for them to be “helpful, honest, and harmless”. Simply alerting or replacing a single token (or even combination of tokens) doesn’t really help, because the AI is modeling *concepts*, not just individual words.\n
    \n
    All of this to say that the problem being solved is not to stop an AI from *saying* “fuck” - it’s to build an AI that doesn’t *want* to.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1695676118 {#4026
    date: 2023-09-25 23:08:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@FinallyDebunked@slrpnk.net"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4015 …}
  +nested: Doctrine\ORM\PersistentCollection {#4013 …}
  +votes: Doctrine\ORM\PersistentCollection {#4011 …}
  +reports: Doctrine\ORM\PersistentCollection {#4009 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
  -id: 64643
  -bodyTs: "'absolut':15 'ai':32,82,112,158,187,210,219 'alert':170 'almost':156 'bone':147 'build':217 'built':140 'combin':178 'complex':68 'concept':190 'data':24,45,61,110 'decid':85 'differ':52 'doesn':181,221 'drop':59,103 'entir':62 'euphem':117 'even':177 'fuck':19,49,107,213 'give':63 'go':87 'goal':151 'hand':100 'harmless':168 'help':165,184 'honest':166 'imposs':29 'individu':193 'innocu':144 'instanc':105,149 'instead':118 'know':34 'learn':115 'liter':28 'may':83 'mention':4 'model':159,189 'much':66 'offens':64,116,136 'other':2 'perfect':91,143 'perhap':54 'phrase':137 'plenti':133 'problem':202 'prone':146 'queri':96 'quit':8 'realli':155,183 'remov':16 'replac':48,78,172 'request':123 'respons':93 'say':199,212 'see':74 'sexual':135 'shine':129 'shove':121 'simpl':10 'simpli':169 'singl':72,174 'solv':204 'starter':12 'still':84 'stop':208 'sun':126 'token':53,80,145,175,180 'train':23,44 'valid':92 'want':223 'word':18,36,73,194 'wors':130"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/3202915"
  +editedAt: null
  +createdAt: DateTimeImmutable @1695676118 {#3962
    date: 2023-09-25 23:08:38.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "asklemmy@lemmy.world"
  +title: "asklemmy"
  +description: """
    A Fediverse community for open-ended, thought provoking questions\n
    -----------------------------------------------------------------\n
    \n
    ---\n
    \n
    **Rules: (interactive)**\n
    ------------------------\n
    \n
    ---\n
    \n
    1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. [Please familiarize yourself with them](https://legal.lemmy.world/tos/)\n
    \n
    ---\n
    \n
    2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?\n
    \n
    ---\n
    \n
    3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.\n
    \n
    ---\n
    \n
    4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [!asklemmyafterdark@lemmy.world](https://lemmy.world/c/asklemmyafterdark) or [!asklemmynsfw@lemmynsfw.com](https://lemmynsfw.com/c/asklemmynsfw). NSFW comments should be restricted to posts tagged [NSFW].\n
    \n
    ---\n
    \n
    5) This is not a support community.It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to [Lemmy.world Support](https://lemmy.world/c/support) or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.\n
    \n
    ---\n
    \n
    Reminder: The [terms of service](https://legal.lemmy.world/tos/) apply here too.\n
    \n
    Partnered Communities:\n
    ----------------------\n
    \n
    [Tech Support](/c/techsupport@lemmy.world)\n
    \n
    [No Stupid Questions](/c/nostupidquestions@lemmy.world)\n
    \n
    [You Should Know](/c/youshouldknow@lemmy.world)\n
    \n
    [Reddit](/c/reddit@lemmy.world)\n
    \n
    [Jokes](/c/jokes@lemmy.world)\n
    \n
    [Ask Ouija](/c/askouija@lemmy.world)\n
    \n
    ---\n
    \n
    Logo design credit goes to: [tubbadu](/u/tubbadu@lemmy.world)\n
    \n
    ---\n
    \n
    ![](https://img.shields.io/lemmy/asklemmy%40lemmy.world?logo=lemmy&label=Total%20Subscribers)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1179
  +entryCommentCount: 42676
  +postCount: 3
  +postCommentCount: 67
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583245 {#276
    date: 2024-10-22 09:47:25.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -id: 49
  +apId: "asklemmy@lemmy.world"
  +apProfileId: "https://lemmy.world/c/asklemmy"
  +apPublicUrl: "https://lemmy.world/c/asklemmy"
  +apFollowersUrl: "https://lemmy.world/c/asklemmy/followers"
  +apInboxUrl: "https://lemmy.world/inbox"
  +apDomain: "lemmy.world"
  +apPreferredUsername: "asklemmy"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583301 {#270
    date: 2024-10-22 09:48:21.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1697177027 {#272
    date: 2023-10-13 08:03:47.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details