boltuix commited on
Commit
0e871aa
Β·
verified Β·
1 Parent(s): 81f1b07

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -31
README.md CHANGED
@@ -111,37 +111,39 @@ for sentence in masked_sentences:
111
  print(f"✨ β†’ {pred['sequence']} (score: {pred['score']:.4f})")
112
 
113
 
114
- ---
115
 
116
 
117
- ```python
 
118
  ## πŸ”€ Masked Language Model (MLM) Demo
119
- Input: The robot can [MASK] the room in minutes.
120
- ✨ β†’ The robot can clean the room in minutes. (score: 0.3124)
121
- ✨ β†’ The robot can scan the room in minutes. (score: 0.1547)
122
- ✨ β†’ The robot can paint the room in minutes. (score: 0.0983)
123
-
124
- Input: He decided to [MASK] the project early.
125
- ✨ β†’ He decided to finish the project early. (score: 0.3876)
126
- ✨ β†’ He decided to start the project early. (score: 0.2109)
127
- ✨ β†’ He decided to abandon the project early. (score: 0.0765)
128
-
129
- Input: This device is [MASK] for small tasks.
130
- ✨ β†’ This device is perfect for small tasks. (score: 0.2458)
131
- ✨ β†’ This device is great for small tasks. (score: 0.1894)
132
- ✨ β†’ This device is useful for small tasks. (score: 0.1321)
133
-
134
- Input: The weather will [MASK] by tomorrow.
135
- ✨ β†’ The weather will improve by tomorrow. (score: 0.2987)
136
- ✨ β†’ The weather will change by tomorrow. (score: 0.1765)
137
- ✨ β†’ The weather will clear by tomorrow. (score: 0.1034)
138
-
139
- Input: She loves to [MASK] in the garden.
140
- ✨ β†’ She loves to work in the garden. (score: 0.3542)
141
- ✨ β†’ She loves to play in the garden. (score: 0.1986)
142
- ✨ β†’ She loves to relax in the garden. (score: 0.0879)
143
-
144
- Input: Please [MASK] the door before leaving.
145
- ✨ β†’ Please close the door before leaving. (score: 0.4673)
146
- ✨ β†’ Please lock the door before leaving. (score: 0.3215)
147
- ✨ β†’ Please open the door before leaving. (score: 0.0652)
 
 
 
111
  print(f"✨ β†’ {pred['sequence']} (score: {pred['score']:.4f})")
112
 
113
 
 
114
 
115
 
116
+
117
+
118
  ## πŸ”€ Masked Language Model (MLM) Demo
119
+
120
+ Input: The robot can [MASK] the room in minutes.
121
+ ✨ β†’ The robot can clean the room in minutes. (score: 0.3124)
122
+ ✨ β†’ The robot can scan the room in minutes. (score: 0.1547)
123
+ ✨ β†’ The robot can paint the room in minutes. (score: 0.0983)
124
+
125
+ Input: He decided to [MASK] the project early.
126
+ ✨ β†’ He decided to finish the project early. (score: 0.3876)
127
+ ✨ β†’ He decided to start the project early. (score: 0.2109)
128
+ ✨ β†’ He decided to abandon the project early. (score: 0.0765)
129
+
130
+ Input: This device is [MASK] for small tasks.
131
+ ✨ β†’ This device is perfect for small tasks. (score: 0.2458)
132
+ ✨ β†’ This device is great for small tasks. (score: 0.1894)
133
+ ✨ β†’ This device is useful for small tasks. (score: 0.1321)
134
+
135
+ Input: The weather will [MASK] by tomorrow.
136
+ ✨ β†’ The weather will improve by tomorrow. (score: 0.2987)
137
+ ✨ β†’ The weather will change by tomorrow. (score: 0.1765)
138
+ ✨ β†’ The weather will clear by tomorrow. (score: 0.1034)
139
+
140
+ Input: She loves to [MASK] in the garden.
141
+ ✨ β†’ She loves to work in the garden. (score: 0.3542)
142
+ ✨ β†’ She loves to play in the garden. (score: 0.1986)
143
+ ✨ β†’ She loves to relax in the garden. (score: 0.0879)
144
+
145
+ Input: Please [MASK] the door before leaving.
146
+ ✨ β†’ Please close the door before leaving. (score: 0.4673)
147
+ ✨ β†’ Please lock the door before leaving. (score: 0.3215)
148
+ ✨ β†’ Please open the door before leaving. (score: 0.0652)
149
+