go-inoue commited on
Commit
4836187
1 Parent(s): 7bfacb6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -3,7 +3,7 @@ language:
3
  - ar
4
  license: apache-2.0
5
  widget:
6
- - text: 'الخيل والليل والبيداء تعرفني[SEP]والسيف والرمح والقرطاس والقلم'
7
  ---
8
  # CAMeLBERT-CA Poetry Classification Model
9
  ## Model description
@@ -24,7 +24,7 @@ To use the model with a transformers pipeline:
24
  ['قم للمعلم وفه التبجيلا' ,'كاد المعلم ان يكون رسولا']
25
  ]
26
  >>> # A function that concatenates the halves of each verse by using the [SEP] token.
27
- >>> join_verse = lambda half: '[SEP]'.join(half)
28
  >>> # Apply this to all the verses in the list.
29
  >>> verses = [join_verse(verse) for verse in verses]
30
  >>> poetry(sentences)
3
  - ar
4
  license: apache-2.0
5
  widget:
6
+ - text: 'الخيل والليل والبيداء تعرفني [SEP] والسيف والرمح والقرطاس والقلم'
7
  ---
8
  # CAMeLBERT-CA Poetry Classification Model
9
  ## Model description
24
  ['قم للمعلم وفه التبجيلا' ,'كاد المعلم ان يكون رسولا']
25
  ]
26
  >>> # A function that concatenates the halves of each verse by using the [SEP] token.
27
+ >>> join_verse = lambda half: ' [SEP] '.join(half)
28
  >>> # Apply this to all the verses in the list.
29
  >>> verses = [join_verse(verse) for verse in verses]
30
  >>> poetry(sentences)