Instructions to use flygaca/CaptAdel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use flygaca/CaptAdel with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("flygaca/CaptAdel") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
CaptAdel β GACAR retrieval embedder (in development)
No weights are published here yet. This repo reserves the name and documents the plan.
SentenceTransformer("flygaca/CaptAdel")will fail until the first release. The Captain Adel Space checks for weights and uses a public multilingual encoder until they exist.
CaptAdel will be the bilingual (Arabic / English) embedding model behind Captain Adel, Fly GACA's independent AI flight instructor for Saudi civil aviation. Its one job is to find the right passage of the GACAR for a question, so that the answering model can cite it. It retrieves text; it does not know or generate regulations.
Independent and educational β not GACA. Fly GACA is not affiliated with, endorsed by, or operated by the General Authority of Civil Aviation. Nothing here is official, legal advice, or for operational use. The authoritative source for any regulation is gaca.gov.sa.
Why it's needed
Captain Adel's corpus is about 47,000 chunks of GACAR and related text, and almost none of it is in Arabic. Keyword search (BM25) can't bridge an Arabic question to an English passage, so the Arabic path often retrieves nothing and, correctly, refuses. A cross-lingual embedder closes that gap. See the Hugging Face plan.
Plan
| Base model | Qwen/Qwen3-Embedding-0.6B (planned; chosen after the phase 2 baseline) |
| Training | Contrastive fine-tuning (MultipleNegativesRankingLoss) on query β passage pairs mined from the corpus, with hard negatives from BM25 misses |
| Pairs today | 66 seed pairs in evals/training-pairs.jsonl; more are needed before a run is worthwhile |
| Output | Matryoshka-truncated vectors (512-d target), stored as binary so the index fits the Cloud Run container |
| Privacy | Use only approved corpus material for embedding builds. Global hosting is authorized by the owner; disclose actual processing locations and providers. Keep raw learner responses and identifiers out of training data, Hub uploads, and logs. Hosting location alone does not establish PDPL compliance. |
Full specification:
FlyGACA/Office/06-operations-it/captadel/phase-3-fine-tuned-embedder.md.
Release gate
Weights ship only if they beat the base model on Captain Adel's eval set
(flygaca/gacar-assistant-evals),
per language, without an English regression. This card will then report:
| Model | Lang | Recall@1 | Recall@5 | MRR@10 |
|---|---|---|---|---|
| Base | EN | β | β | β |
| Base | AR | β | β | β |
| CaptAdel | EN | β | β | β |
| CaptAdel | AR | β | β | β |
Intended use, once released
- β Embedding GACAR and aviation passages and queries for retrieval, in Arabic or English
- β Not a source of truth for regulations, and not official
- β Not for operational decisions. It will not know about amendments published after its corpus snapshot.
Links
- Service: captadel.com
- Space: flygaca/captain-adel
- Evals: flygaca/gacar-assistant-evals
- Source: FlyGACA/Captain-Adel. This card is
published from
huggingface/model-card.md. - Contact: i@flygaca.com
Fly GACA Β· Independent of GACA Β· Ψ΅ΩΩΨΉ ΩΩ Ψ§ΩΨ³ΨΉΩΨ―ΩΨ©