boltuix commited on
Commit
1fdeb81
·
verified ·
1 Parent(s): 6a0e191

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -72,11 +72,13 @@ What sets bert-lite apart is its ability to learn from minimal data while delive
72
 
73
  ## 🔤 Quick Demo: Contextual Magic
74
  Here’s bert-lite in action with a simple masked language task:
 
75
  ```python
76
  from transformers import pipeline
77
  mlm = pipeline("fill-mask", model="boltuix/bert-lite")
78
  result = mlm("The cat [MASK] on the mat.")
79
  print(result[0]['sequence']) # ✨ "The cat sat on the mat."
 
80
  ```
81
  ---
82
 
@@ -140,7 +142,6 @@ for sentence in masked_sentences:
140
 
141
  ## 🔤 Masked Language Model (MLM)'s Output
142
  ```python
143
-
144
  Input: The robot can [MASK] the room in minutes.
145
  ✨ → the robot can leave the room in minutes. (score: 0.1608)
146
  ✨ → the robot can enter the room in minutes. (score: 0.1067)
 
72
 
73
  ## 🔤 Quick Demo: Contextual Magic
74
  Here’s bert-lite in action with a simple masked language task:
75
+
76
  ```python
77
  from transformers import pipeline
78
  mlm = pipeline("fill-mask", model="boltuix/bert-lite")
79
  result = mlm("The cat [MASK] on the mat.")
80
  print(result[0]['sequence']) # ✨ "The cat sat on the mat."
81
+
82
  ```
83
  ---
84
 
 
142
 
143
  ## 🔤 Masked Language Model (MLM)'s Output
144
  ```python
 
145
  Input: The robot can [MASK] the room in minutes.
146
  ✨ → the robot can leave the room in minutes. (score: 0.1608)
147
  ✨ → the robot can enter the room in minutes. (score: 0.1067)