Spaces:
Build error
Build error
github-actions[bot] commited on
Commit ·
f14bdd2
1
Parent(s): 2202d61
Auto-sync from demo at Mon Apr 13 12:10:05 UTC 2026
Browse files
graphgen/models/generator/masked_fill_in_blank_generator.py
CHANGED
|
@@ -115,7 +115,7 @@ class MaskedFillInBlankGenerator(BaseGenerator):
|
|
| 115 |
match = re.search(mask_pattern, context)
|
| 116 |
if match:
|
| 117 |
gth = match.group(0)
|
| 118 |
-
masked_context = mask_pattern.sub("
|
| 119 |
else:
|
| 120 |
logger.debug(
|
| 121 |
"Regex Match Failed!\n"
|
|
|
|
| 115 |
match = re.search(mask_pattern, context)
|
| 116 |
if match:
|
| 117 |
gth = match.group(0)
|
| 118 |
+
masked_context = mask_pattern.sub("{ }", context)
|
| 119 |
else:
|
| 120 |
logger.debug(
|
| 121 |
"Regex Match Failed!\n"
|