Ammar-alhaj-ali
commited on
Commit
·
c1b66f8
1
Parent(s):
fc7f00f
Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ tags:
|
|
17 |
To use the model with a transformers pipeline:
|
18 |
```python
|
19 |
>>> from transformers import pipeline
|
20 |
-
>>>
|
21 |
>>> sentences = ['ناطرين البرنامج', 'اكلنا هوا بهل شروة']
|
22 |
>>> model(sentences)
|
23 |
[{'label': 'Beirut', 'score': 0.9731963276863098},
|
|
|
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-dialect-identification-city')
|
21 |
>>> sentences = ['ناطرين البرنامج', 'اكلنا هوا بهل شروة']
|
22 |
>>> model(sentences)
|
23 |
[{'label': 'Beirut', 'score': 0.9731963276863098},
|