FEAT Add Turkish Prompt-Injection dataset loader - #2365
Draft
Enes Deniz (3nesdeniz) wants to merge 1 commit into
Draft
FEAT Add Turkish Prompt-Injection dataset loader#2365Enes Deniz (3nesdeniz) wants to merge 1 commit into
Enes Deniz (3nesdeniz) wants to merge 1 commit into
Conversation
Add a remote SeedDatasetProvider for the CC BY 4.0 Turkish Prompt-Injection dataset (3nesdeniz/turkish-prompt-injection-1k), pinned to an immutable HF revision. Supports label (attack/benign/all), split, and Turkish attack-family filtering, with schema and label-dependent validation. Registers the loader and enums for discovery, adds focused unit tests, and a bibliography entry.
Enes Deniz (3nesdeniz)
marked this pull request as draft
August 12, 2026 16:16
Author
|
Converting this to a draft and gating it on the design discussion in #2379, per the catalog-direction process Adrian Gavrila (@adrian-gavrila) outlined on #2175 — I'd rather get maintainer direction before asking for review, instead of repeating the build-before-discuss sequencing. The implementation here is complete and tested (unit suite + a live load of the published |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a remote SeedDatasetProvider loader for the open, CC BY 4.0 Turkish Prompt-Injection dataset (3nesdeniz/turkish-prompt-injection-1k), pinned to an immutable HF revision.
Turkish-native prompt-injection coverage is scarce in the existing seed datasets. This loader adds paired benign/attack Turkish examples (instruction override & system-prompt extraction, jailbreak personas, obfuscation & data exfiltration, and agentic tool abuse) with Turkish morphological variation. The benign hard negatives share surface vocabulary with the attacks while being fully legitimate, so false-positive behavior can be measured directly.
Changes:
Testing:
Labels describe prompt-injection decisions rather than content harms, so they are retained in seed metadata and harm_categories is intentionally empty (matching the agentic boundary-pairs loader convention).