SearcharxivSearch

arXiv subjects

Omar Elshehy

Publications and source records attributed to Omar Elshehy.

4 recordsLinked to original sources

AraModernBERT: Transtokenized Initialization and Long-Context Encoder Modeling for Arabic

Encoder-only transformer models remain widely used for discriminative NLP tasks, yet recent architectural advances have largely focused on English. In this work, we present AraModernBERT, an adaptation of the ModernBERT encoder architecture to Arabic, and study the impact of transtokenized embedding initialization and native long-context modeling up to 8,192 tokens. We show that transtokenization is essential for Arabic language modeling, yielding dramatic improvements in masked language modeling performance compared to non-transtokenized initialization. We further demonstrate that AraModernBERT supports stable and effective long-context modeling, achieving improved intrinsic language modeling performance at extended sequence lengths. Downstream evaluations on Arabic natural language understanding tasks, including inference, offensive language detection, question-question similarity, and named entity recognition, confirm strong transfer to discriminative and sequence labeling settings. Our results highlight practical considerations for adapting modern encoder architectures to Arabic and other languages written in Arabic-derived scripts.

cs.CL

QARI-OCR: High-Fidelity Arabic Text Recognition through Multimodal Large Language Model Adaptation

The inherent complexities of Arabic script; its cursive nature, diacritical marks (tashkeel), and varied typography, pose persistent challenges for Optical Character Recognition (OCR). We present Qari-OCR, a series of vision-language models derived from Qwen2-VL-2B-Instruct, progressively optimized for Arabic through iterative fine-tuning on specialized synthetic datasets. Our leading model, QARI v0.2, establishes a new open-source state-of-the-art with a Word Error Rate (WER) of 0.160, Character Error Rate (CER) of 0.061, and BLEU score of 0.737 on diacritically-rich texts. Qari-OCR demonstrates superior handling of tashkeel, diverse fonts, and document layouts, alongside impressive performance on low-resolution images. Further explorations (QARI v0.3) showcase strong potential for structural document understanding and handwritten text. This work delivers a marked improvement in Arabic OCR accuracy and efficiency, with all models and datasets released to foster further research.

cs.CV

Quantum repeater node with free-space coupled trapped ions

The quantum repeater cell is a basic building block for a quantum network, as it allows to overcome the distance limitations due to unavoidable fiber loss in direct transmission. We demonstrate the implementation of a quantum repeater cell, based on two free-space coupled $^{40}$Ca$^+$ ions in the same trap that act as quantum memories. We demonstrate the asynchronous generation of atom-photon and photon-photon entanglement by controlled emission of single photons from the individually addressed ions and entanglement swapping. We discuss the fidelity as well as the scaling of the generated rate.

quant-ph

Full Bell-basis measurement of an atom-photon 2-qubit state and its application for quantum networks

The efficiency of a Bell-state measurement on photon pairs is bound to 50\,\% due to the number of Bell states that can be distinguished using linear optics. Here we present the implementation of a protocol that allows us to distinguish all four Bell states by the use of a single-ion quantum memory and heralded absorption as state-selective measurement. The protocol is implemented in two steps. First we demonstrate the state-preserving mapping of a photonic qubit onto the quantum memory, verified by the preservation of entanglement in the process. Then we demonstrate the full Bell state projection between a memory qubit and an incoming photonic qubit, by applying it for atom-to-photon quantum state teleportation.

quant-ph