Hezam commited on
Commit
c057496
1 Parent(s): 1bd305b

Classification and Generation of Arabic News Using ArabicT5

Browse files

category_mapping = {
'Political':1,
'Economy':2,
'Health':3,
'Sport':4,
'Culture':5,
'Technology':6,
'Art':7,
'Accidents':8
# Add more categories as needed
}

Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -6,4 +6,15 @@ metrics:
6
  - bleu
7
  library_name: transformers
8
  pipeline_tag: text2text-generation
9
- ---
 
 
 
 
 
 
 
 
 
 
 
 
6
  - bleu
7
  library_name: transformers
8
  pipeline_tag: text2text-generation
9
+ ---
10
+ category_mapping = {
11
+ 'Political':1,
12
+ 'Economy':2,
13
+ 'Health':3,
14
+ 'Sport':4,
15
+ 'Culture':5,
16
+ 'Technology':6,
17
+ 'Art':7,
18
+ 'Accidents':8
19
+ # Add more categories as needed
20
+ }