Hezam's picture
Update README.md
2ad65fb verified
|
raw
history blame
1.68 kB
metadata
language:
  - ar
metrics:
  - bleu
  - accuracy
library_name: transformers
pipeline_tag: text-classification
tags:
  - t5
  - Classification
  - ArabicT5
  - Text Classification
widget:
  - example_title: الثقافي
  - text: >
      الزين فيك القناه الاولي المغربيه الزين فيك القناه الاولي المغربيه اخبارنا
      المغربيه  متابعه تفاجا زوار موقع القناه الاولي المغربي

# Arabic text classification using deep learning (ArabicT5)

category_mapping = { 'Politics':1, 'Finance':2, 'Medical':3, 'Sports':4, 'Culture':5, 'Tech':6, 'Religion':7 }

# Training parameters

Training batch size 8
Evaluation batch size 8
Learning rate 1e-4
Max length input 128
Max length target 3
Number workers 4
Epoch 2

# Results

Validation Loss 0.0479
Accuracy 96.%
BLeU 96%

# Example usage


```bash