Created
October 3, 2019 00:40
-
-
Save sam-writer/f2ae83261b7a11879caed15a8a1fe70e to your computer and use it in GitHub Desktop.
fitbert-fitb_mask.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unmasked_string = "Why Bert, you're looks handsome today!" | |
span_to_mask = (17, 22) | |
filled_in = fb.mask_fitb(unmasked_string, span_to_mask) | |
# >>> "Why Bert, you're looking handsome today!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment