Run this model with HF Jobs
Run osam36b/Arabic_Text_Classification_Using_SANAD_Dataset on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/osam36b/Arabic_Text_Classification_Using_SANAD_Dataset. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/osam36b/Arabic_Text_Classification_Using_SANAD_Dataset on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use osam36b/Arabic_Text_Classification_Using_SANAD_Dataset with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use osam36b/Arabic_Text_Classification_Using_SANAD_Dataset with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://osam36b/Arabic_Text_Classification_Using_SANAD_Dataset") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253---language:- artags:- text-classification- rnn- arabic-nlp- tensorflow- keras- gradiolicense: mitdataset:- haithemhermessi/sanad-dataset---
# تصنيف النصوص العربية باستخدام مجموعة بيانات SANAD# Arabic Text Classification using SANAD Dataset (RNN model)
هذا المستودع يحتوي على نموذج شبكة عصبية متكررة (RNN) مدرب على تصنيف النصوص والشكاوى العربية إلى 7 فئات أساسية ومختلفة بناءً على مجموعة بيانات **SANAD** الشهيرة.
## الفئات المتاحة للتصنيف (Classes):- الثقافة (Culture)- الاقتصاد (Finance)- الطب (Medical)- السياسة (Politics)- الدين (Religion)- الرياضة (Sports)- التكنولوجيا (Tech)
## بنية المشروع والملفات المرفوعة (Project Structure):1. **exported_model/**: يحتوي على ملف النموذج المدرب بصيغة `.keras` والـ Tokenizer والترميز الخاص بالفئات.2. **app.py**: الملف الرئيسي لتشغيل واجهة المستخدم التفاعلية باستخدام مكتبة **Gradio**.3. **requirements.txt**: ملف يحتوي على كافة المكتبات المطلوبة لتشغيل المشروع في أي بيئة محلية.
---
## كيفية تشغيل المشروع وتجربة الواجهة محلياً (How to Run Locally):
يمكنك تحميل الملفات من هذا المستودع وتشغيل التطبيق عبر الأوامر التالية:
```bash# 1. تحميل المستودعgit clone https://huggingface.co/osam36b/Arabic_Text_Classification_Using_SANAD_Datasetcd Arabic_Text_Classification_Using_SANAD_Dataset
# 2. تثبيت المكتبات المطلوبةpip install -r requirements.txt
# 3. تشغيل تطبيق Gradiopython app.py```
عند تشغيل الأمر الأخير، سيفتح لك رابط محلي ورابط مشاركة خارجي لتجربة تصنيف أي نص عربي تفاعلياً وبشكل فوري.README.mdAdded+53