Yehia-RE-SFT / README.md
hadikhamoud's picture
Build yehia_re_ar_v3_one_token_choice Arabic RE SFT dataset
a060e47 verified
|
Raw
History Blame Contribute Delete
1.23 kB
---
language:
- ar
task_categories:
- text-generation
tags:
- relation-extraction
- arabic
- supervised-fine-tuning
- conversational
- yehia
pretty_name: Yehia RE SFT
---
# Yehia-RE-SFT
Conversational Arabic supervised-fine-tuning data derived from
`U4RASD/WojoodRelationsAnnotated` for relation extraction with `Navid-AI/Yehia-7B-preview`.
## Splits
- `train`: 15,686 labeled examples
- `validation`: 1,687 labeled examples
- `official`: 2,074 unlabeled official examples
## Prompt design
- Exact subject/object character spans become `[الأول]...[/الأول]` and
`[الثاني]...[/الثاني]`.
- Both coarse types are translated using the fixed 21-type Arabic mapper.
- Only directionally ontology-compatible positive relations are listed.
- Positive options use the supplied Wojood/SinaTools `template_ar`.
- `لا توجد علاقة` is always included.
- Options are deterministically shuffled with seed `42`.
- Each Arabic option is labeled with a one-token Arabic code. The assistant
target is exactly that code, which is uniquely reversible through the row's
option metadata to the original WojoodRelations label.
The `official` split has no assistant message and must never be used for SFT.