Instructions to use CULUREYES-stack/Operator-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CULUREYES-stack/Operator-1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CULUREYES-stack/Operator-1B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("CULUREYES-stack/Operator-1B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CULUREYES-stack/Operator-1B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CULUREYES-stack/Operator-1B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CULUREYES-stack/Operator-1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CULUREYES-stack/Operator-1B
- SGLang
How to use CULUREYES-stack/Operator-1B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "CULUREYES-stack/Operator-1B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CULUREYES-stack/Operator-1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "CULUREYES-stack/Operator-1B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CULUREYES-stack/Operator-1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use CULUREYES-stack/Operator-1B with Docker Model Runner:
docker model run hf.co/CULUREYES-stack/Operator-1B
Accept the CC BY-NC 4.0 license
Access is granted automatically after you accept the license terms.
By requesting access, you agree to use and share these weights only under the CC BY-NC 4.0 terms. Commercial use is not permitted.
Log in or Sign Up to review the conditions and access this model content.
Operator 1B
الناشر: محمد الهاجري (Cultureyes)
Publisher: Mohamed Al Hajeri (Cultureyes)
من هنا أبدأ
تعلمنا من قيادتنا أن نستشرف المستقبل، وأن نواجه التحديات بثبات، وأن نبني بأيدينا ما نطمح إليه. كبرنا ونحن نؤمن بأن الظروف الصعبة ليست سببًا لانتظار طريق أسهل؛ بل دافعٌ لنبدأ بما نملك ونواصل العمل. من هذا الإيمان أبني من الإمارات. بدأت أتعلم وأبني بنية الذكاء الاصطناعي من الصفر؛ إذ أرى أن السيادة في هذا المجال لا تكتمل من دون امتلاك بنيته التحتية وتصميمها منذ البداية لتواكب النمو والتوسع. وتشمل مشاريعي نماذج ذكاء اصطناعي، ونظامًا وكيليًا، ومحركًا للاستدلال، وأدوات للتقييم، ومشاريع تتيح للآخرين التجربة والبناء. لكل مشروع غايته، لكنها تنطلق من روح واحدة: أن نبدأ، ونتعلم، ونتشارك ما نبنيه.
Building from here
Our leadership taught us to look ahead, face challenges with resolve, and build with our own hands. We grew up believing difficult circumstances are no reason to wait for an easier path; they are a reason to begin with what we have and keep working. From that belief, I’m building from the UAE. I began learning and building AI infrastructure from scratch because, in my view, there can be no AI sovereignty without owning that infrastructure and designing it to scale from the outset. My work includes AI models, an agentic operating system, an inference engine, evaluation tools, and projects that make room for others to experiment and build, too. Each has its own purpose, but they share one spirit: begin, learn, and share what we build.
“To advance and learn while preserving our traditions and not losing sight of them.” — President Sheikh Mohamed bin Zayed, as reported by The National
That balance is the spirit I bring to this release: an Emirati conversation can reach nanotechnology, space and artificial intelligence, then return to the desert, firewood and coffee. President Sheikh Mohamed bin Zayed called this “the true Emirati.” I also hold close the message, recalled at the Union Parade, that “all tribes in the UAE are one tribe” (The National).
I’m releasing Operator 1B during UAE Innovates 2026 as my own contribution to enabling the UAE’s AI future. Built through the HajeriLM family and published by Cultureyes, it gives the next builder three points to inspect, continue training from, or fine-tune. I hope this work helps make it easier for more people here to shape what comes next.
Three checkpoints to build from
| Revision | Stage | Checkpoint |
|---|---|---|
main |
Base model | U30,000, about 35.5B tokens seen |
u15600 |
Earlier base model | U15,600, about 17.9B tokens seen |
sft1-u3000 |
First supervised fine-tuning checkpoint | SFT update 3,000 |
The U30,000 and U15,600 revisions are base-model checkpoints. The SFT revision is a separate training stage; choose it when you want to continue from that SFT state. These are 1B-family checkpoints, not the separate Operator 4B model.
Each revision includes its matching tokenizer. U30,000 and U15,600 share the base tokenizer. SFT U3000 uses a same-size tokenizer with 188 vocabulary entries changed from the base tokenizer; shared tokens keep their IDs. Load the tokenizer from the same revision as the weights.
Architecture
- 1.136B parameters; 32 layers; hidden size 1,024
- 8 query heads and 1 key/value head
- 253,595-token Arabic-English tokenizer with byte fallback
- 32,768 configured context positions
- RoPE theta 10,000; attention gates disabled
- Mixed BF16/FP32 saved weights
The 1B configuration reflects the original model at this stage. It does not use the later 4B model's RoPE theta or gated-attention settings.
Load and continue training
The Transformers wrapper accepts labels and returns shifted causal language-model loss. The base model can be used for continued pretraining or supervised fine-tuning; select the SFT revision to continue from SFT U3000.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "CULUREYES-stack/Operator-1B"
revision = "main" # choose "u15600" or "sft1-u3000" to select another checkpoint
tokenizer = AutoTokenizer.from_pretrained(repo, revision=revision, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, revision=revision, trust_remote_code=True)
For causal fine-tuning, pass input_ids, attention_mask, and labels; mask prompt and padding positions in labels with -100. The model shifts labels internally. Set use_cache=False while training.
This repository supplies the model and tokenizer. Choose your own dataset, objective, optimizer, and training setup. Check the license before using or redistributing model derivatives.
العربية
«أن نتقدم ونتعلم مع الحفاظ على تقاليدنا وألا نغفل عنها» — صاحب السمو الشيخ محمد بن زايد آل نهيان، وفق ما نقلته صحيفة وطنية.
هذه الموازنة هي الروح التي أضعها في هذا الإصدار: يتحدث الإماراتي عن التقنية والفضاء والذكاء الاصطناعي، ويحافظ في الوقت نفسه على صلته بالبر والحطب والقهوة. وقد وصف صاحب السمو الشيخ محمد بن زايد ذلك بأنه «الإماراتي الحقيقي». كما أستحضر الرسالة التي نقلها أحد المشاركين في مسيرة الاتحاد: «كل القبائل في الإمارات قبيلة واحدة» (التغطية الصحفية لمسيرة الاتحاد).
أُصدر هذا النموذج خلال الإمارات تبتكر 2026 بوصفه مساهمتي الشخصية في تمكين مستقبل الذكاء الاصطناعي في الإمارات. بنيته ضمن عائلة نماذج أعمل عليها، وأتيح ثلاث نقاط تدريب تُمكّن المطورين من فحص تطوره أو مواصلة التدريب أو تخصيصه. آمل أن يساعد هذا العمل على توسيع مشاركة المزيد من الناس هنا في رسم ما يأتي لاحقاً. ويتوفر أيضاً إصدار أكبر من العائلة.
ثلاث نقاط للبناء عليها
| الفرع | المرحلة | نقطة الحفظ |
|---|---|---|
main |
النموذج الأساسي | التحديث 30,000، بعد مشاهدة نحو 35.5 مليار رمز |
u15600 |
نقطة أسبق من النموذج الأساسي | التحديث 15,600، بعد مشاهدة نحو 17.9 مليار رمز |
sft1-u3000 |
أول نقطة بعد الضبط الدقيق بإشراف | نقطة التدريب 3,000 |
تتضمن النقطتان الأوليان من الجدول أوزان النموذج الأساسي، أما النقطة الثالثة فهي مرحلة تدريب منفصلة بعد الضبط الدقيق. يضم كل فرع مقسّم الرموز المطابق لأوزانه. يشترك الفرعان الأساسيان في المقسّم نفسه، بينما يستخدم فرع الضبط الدقيق مقسّماً يختلف في 188 مدخلاً من أصل 253,595، مع ثبات معرّفات الرموز المشتركة. حمّل مقسّم الرموز من الفرع نفسه الذي تحمّل منه الأوزان.
يتكوّن النموذج من 1.136 مليار معامل و32 طبقة، وبُعد مخفي قدره 1,024، مع 8 رؤوس للاستعلام ورأس واحد للمفتاح والقيمة. يضم مقسّم الرموز العربي والإنجليزي 253,595 رمزاً، مع احتياط للبايتات. والسياق مضبوط على 32,768 موضعاً. يستخدم النموذج الترميز الموضعي الدوراني بقيمة 10,000، ولا يتضمن بوابات انتباه. الأوزان المحفوظة مزيج من صيغتي دقة مختلفتين.
صيغتا الدقة: BF16 وFP32.
تعكس هذه الإعدادات المرحلة الأصلية للنموذج. وهي تختلف عن إعدادات الإصدار الأكبر التي أضيفت لاحقاً. يقبل النموذج تسميات التدريب ويحسب خسارة اللغة السببية بعد إزاحتها. لمواصلة التدريب أو تخصيص النموذج، اختر نقطة الحفظ المناسبة، واجعل مواضع الموجهات والحشو خارج حساب الخسارة. المثال البرمجي في القسم الإنجليزي يوضح أسماء المدخلات المطلوبة.
License
CC BY-NC 4.0. Commercial use is not permitted under this license. Review the license before using, adapting, or redistributing the model.
الترخيص
يصدر هذا النموذج بموجب ترخيص المشاع الإبداعي: النسب إلى المؤلف، والاستخدام غير التجاري، الإصدار الرابع. يسمح الترخيص بالاستخدام والمشاركة والتعديل مع الإسناد لأغراض غير تجارية، ولا يسمح بالاستخدام التجاري. اقرأ نص الترخيص الرسمي.
شكر وتقدير
أتقدم بالشكر إلى AWS Cloud (@awscloud) على أرصدة الحوسبة السحابية التي ساعدتني على مواصلة هذا العمل، وإلى NVIDIA Inception على ما يقدمه البرنامج من موارد ودعم للمبتكرين في الذكاء الاصطناعي. وأقدّر ما أتاحه لي ذلك من فرصة لمواصلة البناء باستقلالية من دولة الإمارات.
Acknowledgements
My thanks go to AWS Cloud (@awscloud) for the cloud credits that helped me continue this work, and to NVIDIA Inception for its resources and support for AI innovators. I’m grateful for the opportunity to keep building independently from the UAE.
- Downloads last month
- -
# Gated model: Login with a HF token with gated access permission hf auth login