Ndamulelo Nemakhavhani commited on
Commit
f728d01
1 Parent(s): e8a05bf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -27,8 +27,8 @@ transformer network with 120 million traininable parameters.
27
  ```python
28
  from transformers import pipeline
29
  # Initialize the pipeline for masked language model
30
- unmasker = pipeline('fill-mask', model='dsfsi/zabantu-ven-120m)
31
- # The Sepedi sentence with a masked token
32
  sample_sentences = ["Rabulasi wa <mask> u khou bvelela nga u lima",
33
  "Vhana vhane vha kha ḓi bva u bebwa vha kha khombo ya u <mask> nga Listeriosis"]
34
 
@@ -39,4 +39,5 @@ for result in results:
39
  print(f"Predicted word: {result['token_str']} - Score: {result['score']}")
40
  print(f"Full sentence: {result['sequence']}\n")
41
  print("=" * 80)
 
42
  ```
 
27
  ```python
28
  from transformers import pipeline
29
  # Initialize the pipeline for masked language model
30
+ unmasker = pipeline('fill-mask', model='dsfsi/zabantu-ven-120m')
31
+
32
  sample_sentences = ["Rabulasi wa <mask> u khou bvelela nga u lima",
33
  "Vhana vhane vha kha ḓi bva u bebwa vha kha khombo ya u <mask> nga Listeriosis"]
34
 
 
39
  print(f"Predicted word: {result['token_str']} - Score: {result['score']}")
40
  print(f"Full sentence: {result['sequence']}\n")
41
  print("=" * 80)
42
+
43
  ```