go-inoue commited on
Commit
6193da3
1 Parent(s): d74be9c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -21,9 +21,10 @@ To use the model with the [CAMeL Tools](https://github.com/CAMeL-Lab/camel_tools
21
  >>> sa.predict(sentences)
22
  >>> ['positive', 'negative']
23
  ```
24
- You can also use the NER model directly with a transformers pipeline:
25
  ```python
26
  >>> from transformers import pipeline
 
27
  >>> sa = pipeline('sentiment-analysis', model='CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment')
28
  >>> sentences = ['أنا بخير', 'أنا لست بخير']
29
  >>> sa(sentences)
 
21
  >>> sa.predict(sentences)
22
  >>> ['positive', 'negative']
23
  ```
24
+ You can also use the SA model directly with a transformers pipeline:
25
  ```python
26
  >>> from transformers import pipeline
27
+ e
28
  >>> sa = pipeline('sentiment-analysis', model='CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment')
29
  >>> sentences = ['أنا بخير', 'أنا لست بخير']
30
  >>> sa(sentences)