Ammar-alhaj-ali
commited on
Commit
•
5e956a3
1
Parent(s):
fdb8e8e
Update README.md
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ tags:
|
|
15 |
|
16 |
#### How to use
|
17 |
To use the model with a transformers pipeline:
|
18 |
-
|
19 |
from transformers import pipeline
|
20 |
model = pipeline('text-classification', model='Ammar-alhaj-ali/arabic-MARBERT-sentiment')
|
21 |
sentences = ['لقد استمتعت بالحفلة', 'خدمة المطعم كانت محبطة']
|
|
|
15 |
|
16 |
#### How to use
|
17 |
To use the model with a transformers pipeline:
|
18 |
+
```python
|
19 |
from transformers import pipeline
|
20 |
model = pipeline('text-classification', model='Ammar-alhaj-ali/arabic-MARBERT-sentiment')
|
21 |
sentences = ['لقد استمتعت بالحفلة', 'خدمة المطعم كانت محبطة']
|