Update README.md
Browse files
README.md
CHANGED
@@ -23,10 +23,10 @@ widget:
|
|
23 |
خسارة مدوية لليفربول امام تولوز وفوز كبير لبيتيس
|
24 |
---
|
25 |
|
26 |
-
|
27 |
- The model is under trial
|
28 |
|
29 |
-
|
30 |
category_mapping = {
|
31 |
|
32 |
'Political':1,
|
@@ -38,7 +38,7 @@ widget:
|
|
38 |
'Art':7,
|
39 |
'Accidents':8
|
40 |
}
|
41 |
-
|
42 |
|
43 |
| | |
|
44 |
| :-------------------: | :-----------:|
|
@@ -52,7 +52,7 @@ widget:
|
|
52 |
| | |
|
53 |
|
54 |
|
55 |
-
|
56 |
|
57 |
| | |
|
58 |
| :---------------------: | :-----------: |
|
@@ -65,7 +65,7 @@ widget:
|
|
65 |
| | |
|
66 |
|
67 |
|
68 |
-
|
69 |
```python
|
70 |
|
71 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, pipeline
|
|
|
23 |
خسارة مدوية لليفربول امام تولوز وفوز كبير لبيتيس
|
24 |
---
|
25 |
|
26 |
+
## ArabicT5: Classification and Generation of Arabic News
|
27 |
- The model is under trial
|
28 |
|
29 |
+
## The number in the generated text represents the category of the news, as shown below:
|
30 |
category_mapping = {
|
31 |
|
32 |
'Political':1,
|
|
|
38 |
'Art':7,
|
39 |
'Accidents':8
|
40 |
}
|
41 |
+
## Training parameters
|
42 |
|
43 |
| | |
|
44 |
| :-------------------: | :-----------:|
|
|
|
52 |
| | |
|
53 |
|
54 |
|
55 |
+
## Results
|
56 |
|
57 |
| | |
|
58 |
| :---------------------: | :-----------: |
|
|
|
65 |
| | |
|
66 |
|
67 |
|
68 |
+
## Example usage
|
69 |
```python
|
70 |
|
71 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, pipeline
|