Downloads · 30 days
11
5% of all-time downloads
baruus/arabic-intent-telecom-llm
arabic-intent-telecom-llm is a text generation model from baruus. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned Arabic language model designed to extract user intent and classify telecom service requests into network slice categories (networkslicehigh or networkslicelow). It powers a YAML policy gener…
Downloads · 30 days
11
5% of all-time downloads
All-time downloads
236
Public
Repo size
746 MB
Likes
0
Public
Click a slice to open those files.
.safetensors646 MB · 68%
From the Hugging Face model README
This model is a fine-tuned Arabic language model designed to extract user intent and classify telecom service requests into network slice categories (network_slice_high or network_slice_low). It powers a YAML policy generator for telecom automation workflows.
intent_model_outputThis model is a fine-tuned version of unsloth/qwen2-7b-instruct-bnb-4bit.
It was trained using TRL and the PEFT LoRA adapter method.
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
model = AutoModelForCausalLM.from_pretrained("baruus/arabic-intent-telecom-llm", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("baruus/arabic-intent-telecom-llm")
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "حابب شريحة إنترنت للتحميل السريع لو سمحت"
output = pipe(prompt, max_new_tokens=100)[0]["generated_text"]
print(output)