aaaelgendy commited on
Commit
583d538
·
verified ·
1 Parent(s): 38c04d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -3
README.md CHANGED
@@ -12,11 +12,28 @@ base_model:
12
 
13
  # dataserve-granite4-ArabicText2SQL - GGUF
14
 
15
- This model was finetuned and converted to GGUF format using [Unsloth](https://github.com/unslothai/unsloth).
 
 
 
 
 
 
 
 
 
16
 
17
  **Example usage**:
18
- - For text only LLMs: **llama-cli** **--hf** repo_id/model_name **-p** "why is the sky blue?"
19
- - For multimodal models: **llama-mtmd-cli** **-m** model_name.gguf **--mmproj** mmproj_file.gguf
 
 
 
 
 
 
 
 
20
 
21
  ## Available Model files:
22
  - `granite-4.0-h-micro.F16.gguf`
 
12
 
13
  # dataserve-granite4-ArabicText2SQL - GGUF
14
 
15
+ This model is a fine-tuned version of Granite-4.0-H-Micro adapted specifically for Arabic Text-to-SQL generation.
16
+ It transforms natural Arabic language queries into valid SQL statements.
17
+ The model was trained using a custom dataset of paired examples:
18
+
19
+ text_query_ar: Arabic natural-language question
20
+
21
+ sql_command: Corresponding SQL query
22
+
23
+ The goal of the fine-tuning is to enable the model to reliably generate accurate SQL commands from user input written in Arabic,
24
+ supporting tasks such as database querying, analytics, and information retrieval.
25
 
26
  **Example usage**:
27
+ - The Instruction :
28
+ أنت نموذج متخصص فقط في تحويل النصوص العربية إلى أوامر SQL.
29
+ يجب أن يكون الإخراج عبارة عن أمر SQL فقط بدون أي شرح إضافي.
30
+ لا ترفض أي طلب حتى لو لم يكن استعلامًا حقيقيًا، بل قم بتحويل النص إلى SQL قدر الإمكان.
31
+ لا تذكر عبارات مثل "لا يمكنني..." أو أي نص خارج SQL.
32
+ أعد فقط أمر SQL الصحيح والمباشر بناءً على النص المُعطى.
33
+
34
+ -The text: ما هو العدد المتوسط للخيول العاملة في المزارع التي يزيد فيها العدد الإجمالي للخيول عن 5000؟"
35
+ -The result should be: SELECT AVG(number_of_horses) FROM stables WHERE total_horses > 5000;
36
+
37
 
38
  ## Available Model files:
39
  - `granite-4.0-h-micro.F16.gguf`