AyoubChLin / Qwen3.5-9B-saudi-dialect

huggingface.co
Total runs: 1.5K
24-hour runs: -1.5K
7-day runs: -1.5K
30-day runs: -830
Model's Last Updated: March 23 2026
text-generation

Introduction of Qwen3.5-9B-saudi-dialect

Model Details of Qwen3.5-9B-saudi-dialect

Qwen3.5-9B Saudi Dialect

This repository contains merged full weights for Saudi-dialect chat generation, not just LoRA adapters. The model was fine-tuned from unsloth/Qwen3.5-9B with Unsloth LoRA SFT on Saudi Arabic conversations, then merged into a standalone merged_16bit checkpoint for direct use with plain transformers or Unsloth.

Model details
  • Base model: unsloth/Qwen3.5-9B
  • Training style: Unsloth LoRA SFT
  • System prompt: أنت مساعد مفيد يتحدث باللهجة السعودية العامية.
  • Max sequence length: 4096
Training data and setup
  • Dataset: HeshamHaroon/saudi-dialect-conversations
  • Raw dataset size: 3545
  • Post-filter split: 3366 train / 179 eval
  • Eval split: 5%
  • Seed: 3407
  • LoRA config: r=16 , alpha=16 , dropout=0
  • Target modules: q_proj , k_proj , v_proj , o_proj , gate_proj , up_proj , down_proj
  • Batch size: 16
  • Gradient accumulation: 4
  • Effective batch size: 64
  • Epochs: 4
  • Learning rate: 4e-4
  • Warmup steps: 5
  • Optimizer: adamw_8bit
  • Packing: enabled
  • Hardware/runtime: NVIDIA A100-SXM4-80GB , bf16 , 2608.5s ( 43.48 min )
Results
  • Final eval/loss : 1.41955
  • Final logged train/loss : 1.10579
  • Trainer aggregate training_loss : 1.3807367114525921
    This is the run-level average reported by the trainer, not the last logged training step.
  • Peak reserved memory: 57.799 GB
  • LoRA-attributed reserved memory: 40.145 GB
  • Peak memory share: 72.93%

From the provided loss screenshot, eval loss drops from about 1.47 early in training to about 1.40 around the middle of the run, then rises slightly to about 1.42 near step 200 . Train loss falls from about 3.1 at the start to about 1.1 by the end.

The published repository is the final merged checkpoint from the run, not an explicitly selected best-eval checkpoint.

Usage
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

repo_id = "AyoubChLin/Qwen3.5-9B-saudi-dialect"

tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype="auto",
    device_map="auto",
)

messages = [
    {"role": "system", "content": "أنت مساعد مفيد يتحدث باللهجة السعودية العامية."},
    {"role": "user", "content": "كيف حالك اليوم؟"},
]

input_ids = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    enable_thinking=False,
    return_tensors="pt",
).to(model.device)

outputs = model.generate(
    input_ids,
    max_new_tokens=200,
    temperature=0.7,
    top_p=0.9,
)

print(tokenizer.decode(outputs[0][input_ids.shape[-1]:], skip_special_tokens=True))
Install Unsloth
%%capture
import re, torch

v = re.match(r"[\d]{1,}\.[\d]{1,}", str(torch.__version__)).group(0)
xformers = "xformers==" + {
    "2.10": "0.0.34",
    "2.9": "0.0.33.post1",
    "2.8": "0.0.32.post2",
}.get(v, "0.0.34")

!pip install sentencepiece protobuf "datasets>=2.18.0" "huggingface_hub>=0.34.0" hf_transfer wandb
!pip install --no-deps unsloth_zoo bitsandbytes accelerate {xformers} peft trl triton unsloth
!pip install -q "transformers>=5.0.0"
!pip install -q --no-deps "trl>=0.15.0"
Unsloth

This repo was pushed as merged_16bit , so load it with load_in_4bit=False .

from unsloth import FastLanguageModel

repo_id = "AyoubChLin/Qwen3.5-9B-saudi-dialect"
max_seq_length = 4096

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name=repo_id,
    max_seq_length=max_seq_length,
    load_in_4bit=False,  # this repo was pushed as merged_16bit
)

FastLanguageModel.for_inference(model)

messages = [
    {
        "role": "system",
        "content": [
            {"type": "text", "text": "أنت مساعد مفيد يتحدث باللهجة السعودية العامية."}
        ],
    },
    {
        "role": "user",
        "content": [
            {"type": "text", "text": "كيف حالك اليوم؟"}
        ],
    },
]

input_ids = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    enable_thinking=False,
    return_tensors="pt",
).to(model.device)

output_ids = model.generate(
    input_ids=input_ids,
    max_new_tokens=200,
    use_cache=True,
    temperature=0.7,
    top_p=0.9,
)

response = tokenizer.decode(
    output_ids[0][input_ids.shape[-1]:],
    skip_special_tokens=True,
)
print(response)
Related artifacts
  • LoRA adapters: AyoubChLin/Qwen3.5-9B-saudi-dialect-lora
Limitations
  • No external benchmark evaluation is included beyond train/eval loss on the source dataset.
  • Saudi dialect coverage is likely uneven across regions, phrasing styles, and topics.
  • The model can still hallucinate, over-generalize, or drift toward more formal Arabic depending on the prompt.

Runs of AyoubChLin Qwen3.5-9B-saudi-dialect on huggingface.co

1.5K
Total runs
-1.5K
24-hour runs
-1.5K
3-day runs
-1.5K
7-day runs
-830
30-day runs

More Information About Qwen3.5-9B-saudi-dialect huggingface.co Model

Qwen3.5-9B-saudi-dialect huggingface.co

Qwen3.5-9B-saudi-dialect huggingface.co is an AI model on huggingface.co that provides Qwen3.5-9B-saudi-dialect's model effect (), which can be used instantly with this AyoubChLin Qwen3.5-9B-saudi-dialect model. huggingface.co supports a free trial of the Qwen3.5-9B-saudi-dialect model, and also provides paid use of the Qwen3.5-9B-saudi-dialect. Support call Qwen3.5-9B-saudi-dialect model through api, including Node.js, Python, http.

Qwen3.5-9B-saudi-dialect huggingface.co Url

https://huggingface.co/AyoubChLin/Qwen3.5-9B-saudi-dialect

AyoubChLin Qwen3.5-9B-saudi-dialect online free

Qwen3.5-9B-saudi-dialect huggingface.co is an online trial and call api platform, which integrates Qwen3.5-9B-saudi-dialect's modeling effects, including api services, and provides a free online trial of Qwen3.5-9B-saudi-dialect, you can try Qwen3.5-9B-saudi-dialect online for free by clicking the link below.

AyoubChLin Qwen3.5-9B-saudi-dialect online free url in huggingface.co:

https://huggingface.co/AyoubChLin/Qwen3.5-9B-saudi-dialect

Qwen3.5-9B-saudi-dialect install

Qwen3.5-9B-saudi-dialect is an open source model from GitHub that offers a free installation service, and any user can find Qwen3.5-9B-saudi-dialect on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3.5-9B-saudi-dialect install, users can directly use Qwen3.5-9B-saudi-dialect installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen3.5-9B-saudi-dialect install url in huggingface.co:

https://huggingface.co/AyoubChLin/Qwen3.5-9B-saudi-dialect

Url of Qwen3.5-9B-saudi-dialect

Qwen3.5-9B-saudi-dialect huggingface.co Url

Provider of Qwen3.5-9B-saudi-dialect huggingface.co

AyoubChLin
ORGANIZATIONS

Other API from AyoubChLin

huggingface.co

Total runs: 36
Run Growth: 24
Growth Rate: 66.67%
Updated:January 25 2024