Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion graphgen/models/generator/masked_fill_in_blank_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ async def generate(
match = re.search(mask_pattern, context)
if match:
gth = match.group(0)
masked_context = mask_pattern.sub("___", context)
# masked_context = mask_pattern.sub("___", context)
masked_context = mask_pattern.sub("{ }", context)
Comment thread
ChenZiHong-Gavin marked this conversation as resolved.
Outdated
else:
logger.debug(
"Regex Match Failed!\n"
Expand Down
Loading